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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f368aa90bf033d4dd4877e3d40accfd27087b568
8989fdb46823a6d393f4dc6880f7a3a3bc704d5b
/test/unit/test_fixed_population.py
cb38bc204dfb4e371ed05f2b5e9a62cafc9befac
[]
no_license
giovannic/idmodels
9aea3d8f490621a149a5b625b6f5a81e634cbc49
7f6e0edbdbe377c0016b5da7b74999216ed6f013
refs/heads/master
2022-07-11T05:38:02.689348
2019-08-20T19:47:37
2019-08-20T19:47:37
203,024,925
0
0
null
2022-06-21T22:32:30
2019-08-18T15:43:48
Python
UTF-8
Python
false
false
1,643
py
import unittest from core.models.population import FixedPopulationModel class FixedPopulationTestCase(unittest.TestCase): def test_cannot_create_invalid_compartments(self): population = FixedPopulationModel() population.initialise_expressions(1) with self.assertRaises(ValueError): ...
[ "giovanni.charles@gmail.com" ]
giovanni.charles@gmail.com
210436a93012629a7cc0c39ff7b3fac81b5b5194
8abb66b1961a387000f0aed0de6914d7ccf3b7d4
/UDF.py
66d45e54728fd8289d840dab96826c02a8f82ec7
[]
no_license
elliottower/ValleyBikeProject
0af2ef9ed11994375f133e782a4f178a5bcf3634
1c61643529fa2b3876080957cc506626751c8a67
refs/heads/master
2020-09-09T01:35:05.932607
2019-12-18T06:31:19
2019-12-18T06:31:19
221,303,902
0
0
null
null
null
null
UTF-8
Python
false
false
5,374
py
#!/usr/bin/python from collections import Counter import pandas as pd import random import math # Import stations spreadsheet df = pd.read_csv("AmherstBikeStations.csv", sep=",", header=0) ''' S = Set of Stations ''' S = [] # can do it as a list too but counters are nice and make t...
[ "etower@umass.edu" ]
etower@umass.edu
4e4e1e1d0d5c76f9f06d146612d2ea99485180ea
1f212c57147e2f02471cd0f258108e2128af52b8
/HillChiper.py
9e1827fcd20fcd139141f32883551f53d03d11e3
[]
no_license
sinamustopa1/HillCipher
0f0a59b66594d372751108d675e9579d4ad9c668
f4ae371f4f1663108414bb910c227a07ec81744e
refs/heads/master
2022-12-19T19:49:06.025597
2020-09-28T12:25:31
2020-09-28T12:25:31
299,298,962
0
0
null
null
null
null
UTF-8
Python
false
false
3,294
py
# 140810180009 Naufal Ariful Amri # 140810180011 Alfari Sidnan # 140810180017 Sina Mustopa import numpy as np key_matrix = [[0] * 2 for t in range(2)] key_mat = [[0] * 2 for t in range(2)] chiper_text = [[0] * 2 for t in range(2)] plain_text = [[0] * 2 for t in range(2)] numbertext = [[0] for t in range(2)] plaintex...
[ "mustopa.sina@gmail.com" ]
mustopa.sina@gmail.com
2ab57e0a422988c3ab9c0a083d6d0b87670ebc16
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_116/ch117_2020_03_23_21_27_19_174351.py
cc5e23b34f33ab76256d64d25a4ac3b24699c59a
[]
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
98
py
from math import sin def snell_descartes(n1,n2,θ1): sin(θ2)=n1*(sin(θ1))/n2 return θ2
[ "you@example.com" ]
you@example.com
f8ace194fe1d0bc32f6bd45242ff8b34795f06b7
e8ebf7028f03aee9794096693a09ddfd52c0b1cf
/TFDatabase/dataframe_controller.py
2b3fbe6411fa4b78707da895e739f79417ad8d6c
[]
no_license
dagleaves/Miscellaneous
752159d231476e4186dedb971bed42bc9ce0cad4
a3742e366b51777a588a6dfbfad735fa8c656d89
refs/heads/main
2023-02-18T16:08:19.221525
2021-01-14T00:53:34
2021-01-14T00:53:34
302,792,451
0
0
null
2020-12-03T15:49:04
2020-10-10T01:54:20
Java
UTF-8
Python
false
false
269
py
import pandas as pd try: database = pd.read_csv('database.csv') except FileNotFoundError: response = input('File not found! Download database? (y/n)') if response == '' or response.lower() == 'y': pass # Download database def search(toy):
[ "68761152+dagleaves@users.noreply.github.com" ]
68761152+dagleaves@users.noreply.github.com
0535495967d0332e764b0470f019bcb21263c717
e6b3a576d8c8bc79aa6d85aeb56f655553d36a3c
/Game_over.py
c40f0da50b054021a072328aedf3e24aaf35de5d
[]
no_license
Lehsey/Game_antology_on_minimal
1d7e85c558614674e347d53f853d6e17e034fda8
e7f7efa08edcc0f90c6fd81b1792f5714db89aaa
refs/heads/master
2020-08-29T11:29:11.069314
2019-11-21T14:52:40
2019-11-21T14:52:40
218,019,012
0
1
null
2019-11-01T11:25:53
2019-10-28T10:14:14
Python
UTF-8
Python
false
false
2,100
py
from PyQt5 import QtWidgets as widget import Records class GameOver(widget.QWidget): def __init__(self, game, rec): super().__init__() # инициализация self.game_name = game self.rec = rec self.setupUI() def setupUI(self): self.setWindowTitle('Game ...
[ "noreply@github.com" ]
Lehsey.noreply@github.com
6ec103878eced29e866f07f54b7c8de32b53129b
311291c4c0a6bb74827ecf019dde46d145013ec8
/find_stable_points.py
5a4f6f499f30f7d6b21a99ecf781075dcb872d00
[]
no_license
goedel-gang/bifurcation_logistic_map
bd6361a8cbb1123d2293be37ab8b492d06db6c9a
aa37c9794ad830004de318c9b1f72c3c9929586e
refs/heads/master
2020-05-03T09:37:08.088101
2019-06-26T08:59:51
2019-06-26T08:59:51
178,559,017
1
0
null
null
null
null
UTF-8
Python
false
false
536
py
import decimal from time import sleep def logi_map(x_n, r): return r * x_n * (1 - x_n) def stable_points(prec, f): decimal.getcontext().prec = prec x = decimal.Decimal(0.5) seen = set() while x not in seen: seen.add(x) x = f(x) endpoint = x x = f(x) osc = [x] while...
[ "izaak.van.dongen@gmail.com" ]
izaak.van.dongen@gmail.com
ee987387848f8cbe5c0ca7f34274b86608007c54
1abb8c4fed56b90f1820e68ee398dc4999a812e5
/Understandings/next.py
a30f43bf333dd37c43feeaff3b7d9773cc72b25b
[]
no_license
tymurKoltunov/raspberryPI_foundation
de9b5355430556c6918fa498aa3ac4c23db64cd4
76020727c94139b5c5f46db410d03fd720320574
refs/heads/master
2022-09-18T01:02:09.488608
2020-06-04T03:52:47
2020-06-04T03:52:47
257,062,904
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
def countdown(): n = 4 while (n > 0): yield n n -= 1 c = countdown() print(f"{c} + '1'") print(f"{next(c)} + '2'")
[ "tymur.koltunov@nure.ua" ]
tymur.koltunov@nure.ua
8298294ab318bf5052e57b1984a626a4f03e7664
69591ed61e4414680de0c1cf574e175692d89301
/Practica4/datamodel/migrations/0001_initial.py
8c8739906a459c5092e9726316f922f733fff2ee
[]
no_license
andressp05/InformationSystems-Project
52de1f44643c7af82d4177f63d3433d3c026b427
96af93ca8222bd69ee8faa320c200825bf0bc2e6
refs/heads/master
2022-04-10T13:12:24.199998
2020-03-26T17:51:21
2020-03-26T17:51:21
250,321,501
0
0
null
null
null
null
UTF-8
Python
false
false
2,227
py
# Generated by Django 2.2.6 on 2019-11-26 00:22 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "andres.salas@estudiante.uam.es" ]
andres.salas@estudiante.uam.es
ea7fc7390b542d4dfea40144a9c5c6705e0968ac
6fc7ad0675e0ce0b4e08beb4d66709d4ab2a6c18
/Python代码/慕课网Python高级课程/chapter02-魔法函数/1.py
784ea91ab2f8c5b5f800484937308c92bca5785d
[]
no_license
Nelocage/algorithm
81a6b733d158ba8df804f62b10bb08dbb7de591f
7957ded5dd68e145aa152eb05c6b221192942bf2
refs/heads/master
2020-03-27T11:12:17.893149
2018-09-08T14:59:19
2018-09-08T14:59:19
146,463,239
0
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
#魔法函数就是以双下划线开头,双下划线结尾的函数 #for函数会拿到一个迭代器,会优先查找类的__iter__方法,若没有则有getitem方法也可以,魔法函数有多个代替品,程序需要实现某些魔法函数时 #会在多个魔法函数中查找, 实现任意一个即可 # 实现魔法函数可以增加自定义类的特性,魔法函数会影响到使用Python的语法 # 学习切片操作 #魔法函数与Python从哪个类继承没有关系 class magic(): #常见魔法函数 #字符串表示 def __repr__(self): pass def __str__(self): pass #集合,序列相关 ...
[ "1784809727@qq.com" ]
1784809727@qq.com
139fc43ea6710f50dbe6f5a4640851fdeeae124a
a86db906f3acb78a8921814ab295265bc98c4a73
/BackEnd/ObjectRecognition/trafficsignnet.py
b5ff088721f28614fac2ee38789b07d003fdfee2
[]
no_license
filipbozic00/Traffic-analizer
f431250e8adeb1eda645ee1579bc5f3bf29a6a8b
53a08c45a857db01f0b4c28412d92c8ce2616776
refs/heads/master
2023-06-25T03:02:44.199759
2021-07-20T13:40:13
2021-07-20T13:40:13
387,800,728
0
0
null
null
null
null
UTF-8
Python
false
false
2,674
py
import cv2 from imutils.convenience import resize from matplotlib import pyplot as plt import numpy as np import imutils import pytesseract as tess import tensorflow from tensorflow.keras.models import Sequential from tensorflow.keras.layers import BatchNormalization from tensorflow.keras.layers import Conv2D from ten...
[ "filip.bozic@student.um.si" ]
filip.bozic@student.um.si
a64e2e09dd7b30e5f219fc94a7b62eca86a430aa
b24492f688e59a72e30fb0504133d2e260aa88bf
/011_blackjack/angela_blackJack.py
bfcd91de5fe6ed22904b14b1d26c5a2b17c167ec
[]
no_license
zenvin/100DaysOfCode
632da387a8f1022508091eecb8c07591b5219564
885c8833a3d56d9b6da05f0dc601aa4a00089742
refs/heads/main
2023-06-04T02:12:46.639881
2021-06-23T05:27:54
2021-06-23T05:27:54
369,921,097
0
0
null
null
null
null
UTF-8
Python
false
false
2,215
py
import random import os from art import logo def deal_card(): """Returns a randomc card from the deck""" cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10] card = random.choice(cards) return card def calculate_score(cards): """Take a list of cards and return a score for those cards""" #instead of if 11 in car...
[ "zevin@protonmail.com" ]
zevin@protonmail.com
382ec61b5d92e38174ded2840080940b3653dd40
d72505a7961bf7f96094a6c7013f3c794495044b
/client.py
4856fbb4f78c0f80314f35362b41858153512a26
[]
no_license
520hacker/websocket-connetions-benchmark
fa6ce757ec9cd68c5bcd60a5421700af6ae4814b
af609d775742cfeca5714133cddea32c8b0c51c0
refs/heads/master
2020-06-05T19:20:43.277616
2019-02-13T08:08:55
2019-02-13T08:08:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
#!/usr/bin/env python #-*- coding:utf-8 -*- # debug in python 3.6 #__author__ == 'ipcpu' import websocket import time import threading import json import multiprocessing from threadpool import ThreadPool, makeRequests #修改成自己的websocket地址 WS_URL = "ws://10.140.12.45:8888/" #定义进程数 processes=5 #定义线程数(每个文件可能限制1024个,可以修改f...
[ "you@example.com" ]
you@example.com
b3bd6d7c6319d309c4fab6cf10a4e82d95fae6f3
f3e0663824268443985685538c972f94e86fe97f
/globus_contents_manager/tests/unit/tests.py
5ded953695041917c612978f7912f5c9a561acf7
[ "Apache-2.0" ]
permissive
rpwagner/globus-contents-manager
370bf7b56eee968794028a52bbde27206f28684c
40ad5e8ef97686feff4ae36ff0f71b0c600c3e83
refs/heads/master
2020-08-13T02:05:46.821373
2019-08-19T16:55:07
2019-08-19T16:55:07
214,887,611
0
0
Apache-2.0
2019-10-13T20:17:27
2019-10-13T20:17:27
null
UTF-8
Python
false
false
2,439
py
from unittest.mock import Mock import pytest import globus_sdk # from .mocks import GlobusTransferTaskResponse from . import testfuncs class MockGlobusResponse: """Mimics the GlobusSDK Response object""" data = {} @pytest.fixture def mock_ls_response(): """Mock an operation_ls response to return the foll...
[ "netta.en@gmail.com" ]
netta.en@gmail.com
9e1b09e46ad8b3cb9a2629079e9ecbfc3da05a97
968b33e7931bbbf32cfb8e7a7a9f7654778b3577
/prob 101~130/prob 129.py
c697ef406f1de7defed6f216dfeaff993ff23365
[]
no_license
hoki1678/2020_Programming
f5ac77f07baad0fa7c231a224c546cc4e3231080
5778c340411d20cdc92c9a45eea14b4960b9ed0e
refs/heads/master
2022-11-22T21:24:05.468796
2020-07-25T02:55:19
2020-07-25T02:55:19
256,646,258
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
#129 a=input("주민등록번호를 입력하세요.: ") b=(int(a[0])*2 + int(a[1])*3 + int(a[2])*4 + int(a[3])*5 + int(a[4])*6 + int(a[5])*7 + int(a[7])*8 + int(a[8])*9 + int(a[9])*2 + int(a[10])*3 + int(a[11])*4 + int(a[12])*5) c=b%11 if c == a[13:]: print("유효한 주민등록번호입니다.") else: print("유효하지 않은 주민등록번호입니다.")
[ "noreply@github.com" ]
hoki1678.noreply@github.com
da106758572a7ac440addece5128e3cf9cf417b4
4c0a2efb54a87e8419c530e49173484660021c16
/src/demo_hic_et_nunc/types/hen_minter/parameter/swap.py
7c54aa138c71b7a9035676794c8af5b23cf473d0
[ "MIT" ]
permissive
jellybazil/dipdup-py
7cc6641b7a25379034be401626d91d17d2493f43
950b086effbfce78080461ecc2f959ba7a8ba998
refs/heads/master
2023-08-12T06:50:01.445161
2021-10-16T20:52:29
2021-10-16T20:52:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
# generated by datamodel-codegen: # filename: swap.json from __future__ import annotations from pydantic import BaseModel, Extra class SwapParameter(BaseModel): class Config: extra = Extra.forbid objkt_amount: str objkt_id: str xtz_per_objkt: str
[ "noreply@github.com" ]
jellybazil.noreply@github.com
53977bf089d82553874f17592e4816552cc6084d
c9731d11c7e0a363b98849a95a43e28114375924
/Medium/ArmstrongNumber.py
f4d036541234f0dc70beaaefe4694cc40b35741a
[]
no_license
kanuos/solving-https-github.com-ProgrammingHero1-100-plus-python-coding-problems-with-solutions
009103de05d5a6fa8ab072f75d1080c207b1b57d
1b37942e83118bba26c490dfb79e7b99d006961c
refs/heads/main
2023-04-07T00:45:00.907554
2021-04-14T22:07:32
2021-04-14T22:07:32
356,587,876
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
# Armstrong number. # A number is an Armstrong Number or narcissistic number # if it is equal to the sum of its own digits raised to the power of the number of digits. def is_armstrong(number: int) -> bool: sum_of_cubes = 0 temp = number while temp > 0: sum_of_cubes += (temp % 10) ** 3 temp...
[ "sounakmukherjee@ymail.com" ]
sounakmukherjee@ymail.com
b148450073878633fd932fa4d080860c99ef9e3c
8fef9b5472f031385a3c0145d94f95e03e2cecbc
/Latino.py
d1ce8a1a0b5f878f705868b3bc9c0ba4d3e92d55
[]
no_license
RoyFlo360/ITQ-IA
cc709f2de12eeeee890b01c74a6a6ebc6d5f696a
8c7dba35eb0b1bb5c7f29a03edc90abf28db2d6a
refs/heads/master
2023-06-05T06:46:11.118285
2021-06-27T18:23:17
2021-06-27T18:23:17
380,809,737
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
orden = int(input("Ingrese el Orden del Cuadrado : ")) nInicial = int(input("Ingrese el Número Inicial : ")) while (nInicial > orden): print("El numero superior izquierdo debe de ser menor o igual al orden del cuadrado") nInicial = int(input("Ingrese el Número Inicial : ")) arreglo = [] nInicialF = nInici...
[ "l16140648@queretaro.tecnm.mx" ]
l16140648@queretaro.tecnm.mx
ced957c5f5648e9b066bb688b28dddf47767fc8e
a808067d0becc34f4f5bf49ca80bfdeaa5f52d37
/utils/readYaml.py
9106be7525b8aae495bea5b8801d40c7d383cc45
[]
no_license
ir3lia/interfaceAutoTest
08595e46daa9cbe7e2f1f7511c864726b26ca6cd
70f6cc8d50680b17bad686f45b36f9f36e0a1ac9
refs/heads/master
2023-02-01T19:26:59.899806
2020-12-16T09:46:02
2020-12-16T09:46:02
321,935,871
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
import yaml def get_test_data(test_data_path): case = [] # 存储测试用例名称 http = [] # 存储请求对象 expected = [] # 存储预期结果 with open(test_data_path) as f: dat = yaml.load(f.read(), Loader=yaml.SafeLoader) test = dat['tests'] for td in test: case.append(td.get('case', '')) ...
[ "“13869517521@163.com" ]
“13869517521@163.com
2fef377287f3c5888e9dcadefea6692585b5f955
f109a3176900e1148452201b355be90390f289fc
/src/blogify/settings.py
645d75a79823d9b11aaa46c40cde6fc504109744
[]
no_license
Stretchddt/Blog
2d4d6f0ddd0f4708a0ff28c036341d887127c71b
3d27fb72e9cf794378e96a0ce1e2dc25d93fc7cb
refs/heads/master
2023-01-14T15:46:00.810709
2020-11-16T16:31:51
2020-11-16T16:31:51
313,278,693
0
0
null
null
null
null
UTF-8
Python
false
false
3,494
py
""" Django settings for blogify project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os fr...
[ "thomsontkd1@gmail.com" ]
thomsontkd1@gmail.com
2aa099e77ec976eea8a2ce7424afac7d5124999a
b0c2a8c77fc0e025690e59f990950b6eb347c4c3
/corpus_builder/spiders/newspaper/janakantha.py
f0a39957ada5c7a106bab473fa6104a3258d95fb
[ "MIT" ]
permissive
ibraheem-moosa/corpus-builder
1b31cbc501026436e5ebde2e363379b6fc094dd0
5f09835f9aa62abb5f891c4d3896206eedd9fe12
refs/heads/master
2020-08-06T21:39:31.700339
2018-08-24T14:00:18
2018-08-24T14:00:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
# -*- coding: utf-8 -*- import datetime import urlparse import scrapy from corpus_builder.templates.spider import CommonSpider class JanakanthaSpider(CommonSpider): name = "janakantha" allowed_domains = ["dailyjanakantha.com"] base_url = 'https://www.dailyjanakantha.com' start_request_url = base_url...
[ "aniruddha@adhikary.net" ]
aniruddha@adhikary.net
fe54aba99af7334fa816a9c0282b522dea6e026c
8d55d41a4f5c0b89331cac714c1525e9581d9720
/WalkingFoot/main_RevisionExamples2.py
18a2303fe1a6b91bde48556986a9ae98c1b31b48
[ "Apache-2.0" ]
permissive
hpgit/HumanFoot
8cf35ceeeb35a0371e03eaf19d6da58dc01487eb
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
refs/heads/master
2022-04-13T23:38:19.072203
2019-12-06T06:36:10
2019-12-06T06:36:10
41,348,141
0
0
null
null
null
null
UTF-8
Python
false
false
43,724
py
from fltk import * import copy, os.path, cPickle, time import numpy as np import sys if '../PyCommon/modules' not in sys.path: sys.path.append('../PyCommon/modules') import Math.mmMath as mm import Math.csMath as cm import Math.ysFunctionGraph as yfg import Renderer.ysRenderer as yr import Renderer.csVpRenderer as...
[ "garethvlf@gmail.com" ]
garethvlf@gmail.com
29a8581e55715c55b33da3a20d3f360ae5cb218f
26daf6ee609ffc04d426f17b726ce91dc68aef5d
/chat_project/chat_project/views.py
384efcc1ab16b4b9968736b1fd8c4344b3b83155
[]
no_license
tapadiyapriyanka/chat-app
83c84f05de0b950fe98c03aa146c99088ff982a0
72d0156c27266dde4723ef18f7857928e9478e37
refs/heads/master
2021-09-06T02:01:25.032759
2017-12-28T14:08:49
2017-12-28T14:08:49
115,386,850
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
import datetime import jwt from django.conf import settings from rest_framework import parsers, renderers, status from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.authtoken.serializers import AuthTokenSerializer class JSONWebTokenAuth(APIView): throttle_c...
[ "priyatapadiya.pt@gmail.com" ]
priyatapadiya.pt@gmail.com
54233aff7a165d2f58face68023c6e17308bd0a4
04568fae7b4923656043a2ff08e715a5898081f1
/space_rocks/player.py
1a6e14cd6a339ab61bc7bbc497c2d0ee238cde06
[]
no_license
balanikas/space-rocks
5c32e9a4f3579836af43439df71596a8a6ade5ec
d3aba42b74a05b489fcb9349ae5015ca34d23419
refs/heads/master
2023-05-03T11:04:29.764783
2021-05-15T16:26:06
2021-05-15T19:47:58
350,666,293
0
0
null
null
null
null
UTF-8
Python
false
false
4,547
py
from enum import Enum from typing import NamedTuple, Callable, Any import pygame from pygame import Vector2 from pygame.surface import Surface import space_rocks.animation as anim import space_rocks.audio as sounds import space_rocks.graphics as gfx from space_rocks.geometry import Geometry from space_rocks.models im...
[ "c_balanikas@hotmail.com" ]
c_balanikas@hotmail.com
2d8118fb28a7b6c6d527581345523cf0485541b9
671e274094b889597a2eac44a8fc4bcf583df5ac
/qcp/one_hot_matrix.py
dbba43ca76f47915331a50ff165790af4d48ad2f
[]
no_license
Isitar/migros-cross-math-solver
805a0f2bbf450cf172d4ce57f745bd59f780da11
b0893a2dd587a85c8d11359a604a2ee5e159987d
refs/heads/master
2020-12-10T20:02:06.640653
2020-01-15T22:16:53
2020-01-15T22:16:53
233,696,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
from pyscipopt import Model model = Model("migros-cross-math") x = [] for i in range(0, 9): x.append([]) for j in range(0, 9): x[i].append(model.addVar(f'x{i}_{j}', vtype="BINARY")) constraints = [] # general cross-math rules for x_i in x: constr = 0 for x_i_j in x_i: constr += x_i_j...
[ "luescherpascal@gmail.com" ]
luescherpascal@gmail.com
4de20f0109cf70e5f728227b677b37923f8e3e0d
06fa929e73ba42d6f96605d8bbde674c5e2f0639
/01-open-read-pwd.py
29dde0d54f7a94764aeabe7a3dec677ebd979bbf
[]
no_license
biagiola/python-file-manipulation
6b25e560a4373ff8e0fa136bb07cd70ee8329e1b
a29def48ee13353feab191f85faadac3736f6868
refs/heads/main
2022-12-22T01:14:48.738913
2020-10-02T15:50:11
2020-10-02T15:50:11
300,651,079
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
import os g = open('data', 'rt') f = open("data.txt", "r") for x in f: print(x) print('Entire file: \n', g.read()) print(g.readlines()) print(os.system("pwd"))
[ "marcelobiagiola01@gmail.com" ]
marcelobiagiola01@gmail.com
bc7e20b9311d255c3353f7a015de56cb7971e407
9ab27d9f29d924937223842d2f9beebf7a669107
/AbilityScoreAndClassMashineLearning.py
9f0b8af1ce6a26cefab25559a7f494e97b62fc79
[]
no_license
Micniks/Python-Exam
c21749b7cfbb6635ffb78e9a808c80bda0b6530d
24cbf96762c3e654ea865c32603330db5fbdc4c2
refs/heads/main
2023-02-04T02:29:01.207912
2020-12-27T13:30:38
2020-12-27T13:30:38
318,752,729
0
0
null
null
null
null
UTF-8
Python
false
false
5,100
py
import pandas as pd import numpy as np import argparse from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import train_test_split default_dataset = 'https://raw.githubusercontent.com/oganm/dndstats/master/docs/charTable.tsv' class DNDClassPredictor: """ This class use machine-learnin...
[ "Michael12.korsgaard@gmail.com" ]
Michael12.korsgaard@gmail.com
f8f2a2c16488ab7b2db5c75b3e3384fe28779156
c5458f2d53d02cb2967434122183ed064e1929f9
/sdks/python/test/test_generate_commitments_request.py
8c5a96d5277ec4d96a679c0c58dcd09553377df4
[]
no_license
ross-weir/ergo-node-api-sdks
fd7a32f79784dbd336ef6ddb9702b9dd9a964e75
9935ef703b14760854b24045c1307602b282c4fb
refs/heads/main
2023-08-24T05:12:30.761145
2021-11-08T10:28:10
2021-11-08T10:28:10
425,785,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
""" Ergo Node API API docs for Ergo Node. Models are shared between all Ergo products # noqa: E501 The version of the OpenAPI document: 4.0.15 Contact: ergoplatform@protonmail.com Generated by: https://openapi-generator.tech """ import sys import unittest import openapi_client from openapi_cli...
[ "29697678+ross-weir@users.noreply.github.com" ]
29697678+ross-weir@users.noreply.github.com
70a634ef5333fbd011fc21983abd792a11a5cfab
5955aa5e04a8b976097e92cccc392eaa6f5de0b5
/utils/base32_utils.py
ce210aab79d9420f6d7cca22fd8d077f62f52b9f
[]
no_license
joy-noah-dev/page_backend
42afd084864e2c91f7dca7436682a9438a566c93
0d0b14fdc29cb98cfdfc2d9948347c819e197761
refs/heads/main
2023-05-01T11:36:34.168606
2021-05-20T02:26:04
2021-05-20T02:26:04
368,667,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,900
py
import re from base64 import b32decode, b32encode from io import BytesIO from typing import List def decode_base32(data: str, altchars='+/') -> bytes: """ Decode base32, python requires additional padding """ data = re.sub(rf'[^a-zA-Z0-9{altchars}]+', '', data) # normalize missing_padding = len(d...
[ "ingesql1992@hotmail.com" ]
ingesql1992@hotmail.com
57c861cd16af96f077cd25db431a46f4feb6d0b2
c30d4f174a28aac495463f44b496811ee0c21265
/python/helpers/python-skeletons/multiprocessing/__init__.py
de9d1ddfa3ca0c043f71519ec442d5c291506ae8
[ "Apache-2.0" ]
permissive
sarvex/intellij-community
cbbf08642231783c5b46ef2d55a29441341a03b3
8b8c21f445550bd72662e159ae715e9d944ba140
refs/heads/master
2023-05-14T14:32:51.014859
2023-05-01T06:59:21
2023-05-01T06:59:21
32,571,446
0
0
Apache-2.0
2023-05-01T06:59:22
2015-03-20T08:16:17
Java
UTF-8
Python
false
false
4,217
py
"""Skeleton for 'multiprocessing' stdlib module.""" from multiprocessing.pool import Pool class Process(object): def __init__(self, group=None, target=None, name=None, args=(), kwargs={}): self.name = '' self.daemon = False self.authkey = None self.exitcode = None self.id...
[ "andrey.vlasovskikh@jetbrains.com" ]
andrey.vlasovskikh@jetbrains.com
5457ca422d13650a936b6813af9e0f7264ec44b1
055ce5ca01b45127efee13b9a8fcfaa7fe4813e5
/oo/attributemethod/property.py
14f3e5d09ab40eb1ccd007adf34017141d7ae65f
[]
no_license
PeihongKe/pythonRecipes
0afe96a05518e5445a3267be0c517bfc424b386f
d5d65628e3ffc6c9cdf8641932fa6bff407a92d0
refs/heads/master
2021-01-01T04:25:00.590994
2018-07-20T22:28:03
2018-07-20T22:28:03
97,172,806
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
import math import util # with property, it is safe to use public data attribute, as you can always add an abstraction on top of it whenever necesary class Rectangle(object): """ """ def __init__(self, width, height): self.width = width self.height = height def get_area(self): ...
[ "pkukph@hotmail.com" ]
pkukph@hotmail.com
b9285e56da882aaf22b415ed18ff86510bae43ee
3d4b7cc6b3117b40a4f388fa4e704abaa6001ce8
/readframe.py
386bc54cc4eefcaed3b077b2609b6d9a5e056a35
[]
no_license
ald2004/pedestrian_track
3e5de1c68d811016413fefa09e2c0634bb2ca82e
f2d550e99a9c14a7485b9ccd2a4a2986993dc10a
refs/heads/master
2023-02-11T01:09:23.674210
2020-12-30T12:40:02
2020-12-30T12:40:02
318,141,401
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
import cv2 import time cap = cv2.VideoCapture(0) if not (cap.isOpened()): print("Could not open video device") cap.set(cv2.CAP_PROP_FRAME_WIDTH, 640) cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 480) while 1: ret, frame = cap.read() success, buffer = cv2.imencode(".jpg", frame) buffer.tofile('video_fe...
[ "yuanpu@139.com" ]
yuanpu@139.com
3169bd2cc3aa5831d52caff6abf1dd7a2a62c3f7
40442e8c450bb1cda86bc7c5792f66a8f9fe9863
/ProjectSurveillance/migrations/0009_detailtype_drive.py
8f523a26866091728db2a19a1eb7e507980f34a0
[ "MIT" ]
permissive
psymen145/OVS-django-fe
f74620a40ef4245033e0b13370ba90e3509e2191
1823e8b42c17276d6b50a63dddd9b04a21c2038c
refs/heads/master
2021-09-02T01:10:51.008215
2017-12-29T15:06:26
2017-12-29T15:06:26
115,728,436
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-11-21 16:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ProjectSurveillance', '0008_projectactivity_rowcreation'), ] operation...
[ "noreply@github.com" ]
psymen145.noreply@github.com
093e8e15f82513ecd3e94e0d7205c22368aed6b9
198b3dc76290ab6b76713db849495ec4102e8ece
/Step-3/step3.py
f303d64cb0d7e72f8d1480df33d6446107595e36
[]
no_license
PabloRdrRbl/my-12-steps-navier-stokes
efa40426b2fbc86fd4f34ee50ccddd18dece3942
f38135bb5fa1955d12008abd2076df2cbc567301
refs/heads/master
2021-01-20T20:15:18.994548
2016-07-11T23:15:56
2016-07-11T23:15:56
62,781,940
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
import numpy as np import matplotlib.pyplot as plt def linearconv(nx): dx = 2 / (nx - 1) # Spatial domain has 2 units length nt = 25 # Number of time steps sigma = 0.2 nu = 0.3 # Viscosity # Courant number, CFL condition # CFL < 1 dt = sigma * dx**2 / nu # Initial conditions u...
[ "prodrr05@estudiantes.unileon.es" ]
prodrr05@estudiantes.unileon.es
4e3e8013222191f5557eeefbb7ca5e65131aeece
aebc347ff9a8ad739111f13aa8d4cf9d48a1e4bd
/data/170818/170818_074301_spectral_scan/0019_electron_loading_trap_studies_E5071C.py
b1d29626c5ebe7e0216866f17a237346e2a494bb
[]
no_license
geyang/170422_EonHe_M018V6
f01a60d3b8a911ba815a0fcc0bf1b6e2aa8f5f17
ce189e22f99942e46fce84a0dca714888e44bc69
refs/heads/master
2021-06-22T21:01:23.257239
2017-08-25T09:48:17
2017-08-25T09:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,239
py
from data_cache import dataCacheProxy from time import sleep, time, strftime from setup_instruments import fridge, seekat, yoko1, nwa, filament from resonance_fitting import fit_res_gerwin import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import os from shutil import copyfile import quicktimetrac...
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
401300d2f39d7307cb7f691dce9ee2bd2a9ffa97
1c5321bf1d26e9c63add1c951ca283571188dfb2
/lol.py
a6dd3084aa5d338299317ab75b1ab7241c48ff84
[]
no_license
CryNando/BOTCreateCustomMatchLOL
e5c015dc40b7e784c5daff09baea711f7b904e64
2310a40c949b74955f0c956f5c589549caaec731
refs/heads/master
2020-03-20T19:03:11.610256
2018-06-17T00:28:44
2018-06-17T00:28:44
137,618,724
1
0
null
null
null
null
UTF-8
Python
false
false
2,225
py
# encoding: utf-8 import os import time import pyautogui os.startfile(r"C:\Riot Games\League of Legends\LeagueClient.exe") print ("Aguardando tela de Login") time.sleep(20) print("Colocando Usuário") pyautogui.click(1033,229, duration=1.00) #posição Username pyautogui.typewrite('seuusuario', 0.25) time.sleep(1) print...
[ "crynando@outlook.com" ]
crynando@outlook.com
d45a656414a1df2c05be824ff7ff20650f0968ee
b624f0d085642618a3935e0888e9a53a17c8361c
/tms/tmsapp/models.py
04c35de188f04f1a65eac39a20a297115eb97a98
[]
no_license
Alton1998/TMS-APP
1df685671127980e72ffa6ab2ab95a848a4c358c
828dac35b55028bc77da5818ed501b03272932ab
refs/heads/master
2020-03-23T02:00:41.965194
2018-07-16T15:30:04
2018-07-16T15:30:04
140,950,992
1
0
null
null
null
null
UTF-8
Python
false
false
824
py
from django.db import models # Creating models class trafficAtA(models.Model): Trafficdensity=models.FloatField() time=models.TimeField(auto_now_add=True) def __str__(self): return self.Trafficdensity,self.time class trafficAtB(models.Model): Trafficdensity = models.FloatField() tim...
[ "noreply@github.com" ]
Alton1998.noreply@github.com
7cae39a80777cd2319715cb741204ebda891e051
3d1297a6c2c16f51dc43130d85daf1e32edefa14
/main/views.py
bfdba79954465c8d279a8324fb176db88b271c34
[]
no_license
Nissel21/linioexp
bf6cef97ba75b37db5ebe7dee7f64e3ce6ba747d
e66ef8a30d9ee7d4ae236fbdf033840380c2e6a5
refs/heads/master
2022-12-30T03:00:59.973262
2020-09-23T06:03:44
2020-09-23T06:03:44
297,853,999
1
0
null
2020-10-05T06:38:33
2020-09-23T04:39:45
Python
UTF-8
Python
false
false
400
py
from django.shortcuts import render from django.http import HttpResponse from django.views.generic import ListView, DetailView from .models import Producto # Create your views here. def home(request): return HttpResponse("Hola, te encuentras en la página de inicio del Linio Express") class ProductListView(ListView...
[ "71747645+Nissel21@users.noreply.github.com" ]
71747645+Nissel21@users.noreply.github.com
580f96d5338bff027bec064c4f87a82504567a6d
9cd9e89359f0da1750a19f0609619e3bbe4c536e
/tests/fork_test.py
61c0e16d67a73a9a7ee9b0fcc4c582058fe208d0
[ "BSD-3-Clause" ]
permissive
ph448/mitogen
e961c95578c852908e33861da7226919547070f0
c24d29d3676aa122e25716450246306aaf4a797b
refs/heads/master
2020-03-19T01:48:11.362786
2018-05-28T05:00:57
2018-05-28T05:00:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,219
py
import ctypes import os import random import ssl import struct import sys import mitogen import unittest2 import testlib import plain_old_module IS_64BIT = struct.calcsize('P') == 8 PLATFORM_TO_PATH = { ('darwin', False): '/usr/lib/libssl.dylib', ('darwin', True): '/usr/lib/libssl.dylib', ('linux2', Fa...
[ "dw@botanicus.net" ]
dw@botanicus.net
0168ac897bdf4a2f1b3a7c34a176bb31fecce4a7
cee42277672cbcc3a354b7feb604ce5ff9ae05eb
/face_recognition_windows/src/face_detected_haar.py
821fd7c47790fe94965979392f7a3e1604f7936d
[]
no_license
linhhonblade/face_recognition_project
2ef9aa93475403c1b2dba1e4ae2347fc95c9a6a9
59f235a3f29d8a01599f20569e0eb7ebf0a63fd4
refs/heads/master
2020-04-08T01:59:26.584120
2018-11-21T14:37:08
2018-11-21T14:37:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
import cv2 #push image to memory for processing def ImagePush(): path=input('link of image: ') if path=="": path='../../image/face_2.jpg' img=cv2.imread(path,0) return img #show image def ImageShow(img): cv.imshow('image',img) k=cv.waitKey() while k!=ord('q'): k=cv.waitKey()...
[ "lenhuchuhiep99@gmail.com" ]
lenhuchuhiep99@gmail.com
269e711a13c5b31a03861276ace784b6574ce8fc
626c4e5c797e943ffa1a31560b929f3646963c6a
/bluelog/blueprints/blog.py
c0c1ee564b5e1cd5cf8aaa01cddc68c6f9319048
[]
no_license
BrightHsu/Myblog
b53543363205c104b017ab6b2c0d2ef232fbecde
73b2d7f926683b18da4fe505de0205de488782b6
refs/heads/master
2023-03-27T22:21:48.583778
2020-06-12T02:13:42
2020-06-12T02:13:42
270,941,342
0
0
null
2021-03-20T04:27:26
2020-06-09T08:08:16
JavaScript
UTF-8
Python
false
false
5,368
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ @Time : 2020/6/1 11:42 @Author : David Ben @FileName: __init__.py.py @Email: hsudavid@163.com @Software: PyCharm """ from flask import Blueprint, render_template, flash, redirect, url_for, request, make_response from flask import current_app from b...
[ "hsudavid@163.com" ]
hsudavid@163.com
d1ef46174618edcfd908c875a157a06da832d91a
602ea0c05970cbd766df068b003671c561f59661
/tools/perf/benchmarks/jetstream2.py
19f31f16c1bc952e688b1bb19284defef99e3e9d
[ "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later", "MIT", "BSD-3-Clause", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.0-only", "APSL-2.0", "LicenseRef-scancode-unknown", "Zlib" ]
permissive
VitalyKononenko/chromium
088de78a639375b073cabb7665afc638334e8672
b8ad2cadb6a163269cd7851bc7962744743785bd
refs/heads/master
2023-03-01T10:15:00.815394
2019-08-15T19:51:40
2019-08-15T19:51:40
202,603,102
1
0
BSD-3-Clause
2019-08-15T19:54:34
2019-08-15T19:54:33
null
UTF-8
Python
false
false
1,655
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Runs Apple's JetStream 2 benchmark. JetStream 2 combines together a variety of JavaScript and Web Assembly benchmarks, covering a variety of advanced wor...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
aee870e083624fa9410fb6c88a23bfa18a7fa8c8
31bfebbc0739bf8e81fb63b1fc35dab45c1aee8c
/bug_seeding/bug_seeding_approaches/SeedBugs.py
a5b1525f267786c4678522c245d816d571eb3078
[ "MIT" ]
permissive
mxmws/SemSeed
85527f1c4c1b80dce38c2687e6b725967c287484
278bf1ae3bb371bbe98965556d1fbb3a38b8c6f5
refs/heads/main
2023-06-03T06:04:17.966491
2021-06-17T17:40:39
2021-06-17T17:40:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,595
py
""" Created on 24-March-2020 @author Jibesh Patra """ from abc import ABC, abstractmethod from typing import List, Tuple class SeedBugs(ABC): def __init__(self, bug_seeding_pattern: dict, target_location: dict, file_path: str): # Stuffs about the bug. Eg. Buggy, Correct, Surrounding tokens, Usages Ident...
[ "jibesh@Jibeshs-MacBook-Pro.local" ]
jibesh@Jibeshs-MacBook-Pro.local
d9f3996fc6b6e11676bb6d73c8c96a5562d5fcec
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/Scaleform/daapi/view/lobby/tank_setup/ammunition_setup_vehicle.py
572f09c20630d76920f59564d58da4e89187b639
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
972
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/tank_setup/ammunition_setup_vehicle.py from CurrentVehicle import g_currentVehicle from helpers import dependency from skeletons.gui.shared import IItemsCache class _TankSetupVehicle(object): __sl...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
e017bc2e2567077ac2bfdb3a42079d3e0e32bf69
c76d7277493f28ab3f7dc505c38fbcc7d203317e
/cv/segmentation/1.segnet/networks/vggnet.py
9e9825d6e8b1ddec9da5a320a915997412dfe88f
[]
no_license
niuxinzan/tf20_dl
4c351a9b77bc14cfb8368ae6bf83e4e8d7296717
7792aad655f77717bca4161a5053b51769427453
refs/heads/master
2023-01-08T11:19:18.408708
2020-11-09T07:02:43
2020-11-09T07:02:43
305,016,171
1
0
null
null
null
null
UTF-8
Python
false
false
2,232
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Authon :buf # @Email :niuxinzan@cennavi.com.cn # @File :vggnet.py # Created by iFantastic on 2020/10/21 import tensorflow as tf from tensorflow.keras import models,layers,activations def vggnet_encoder(input_height=416,input_width=416,pretrained='imagenet'): ...
[ "nxz0507@163.com" ]
nxz0507@163.com
6b354ee59c681faf08710f4c4a73bf94b911ddca
33af6185b48bd76f97f0a74390a3a812ee216c78
/angr/angr/procedures/glibc/__libc_start_main.py
12aa852769b769b404e992c1b45228fc1eb2aa92
[ "BSD-2-Clause" ]
permissive
Ruide/angr-dev
dab0cabd907fce47ac698f890c3f3a8b80ab7e2a
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
refs/heads/master
2022-11-10T11:27:13.355024
2017-10-07T14:29:09
2017-10-07T14:29:09
104,417,044
0
1
BSD-2-Clause
2022-10-16T04:48:10
2017-09-22T01:35:12
C
UTF-8
Python
false
false
8,177
py
import logging import pyvex import angr l = logging.getLogger("angr.procedures.glibc.__libc_start_main") ###################################### # __libc_start_main ###################################### class __libc_start_main(angr.SimProcedure): #pylint:disable=arguments-differ,unused-argument,attribute-define...
[ "rd.cheung.bupt.sms@gmail.com" ]
rd.cheung.bupt.sms@gmail.com
37913d32b1f43d61aebe7d69c85c3aed7ea2fbc1
baea358f397970314b60b2e3420e9925c241b335
/hlt/a_star.py
c1d33dba5dd5801078f9069a3c7e90f5913558c5
[]
no_license
adozendonuts/hb1
2ea366941f3e4f3f5434eeca9da3583ec7ad23a7
fbaf95b98e832ff75ed97f80596b7b5f135a53bd
refs/heads/master
2021-07-22T00:00:28.037915
2017-11-01T07:15:23
2017-11-01T07:15:23
109,086,987
0
0
null
null
null
null
UTF-8
Python
false
false
2,780
py
""" A* Pathfinding on an exhaustive rectangular grid TODO: change map representation to planets + in-between points for long distances, 20 unit radius for each ship """ import collections import heapq class Queue: """ A data structure used by the algorithm to determine which order to process the locations ...
[ "isoybean@gmail.com" ]
isoybean@gmail.com
1c412f4178575b10412fd80ba6e0c1dd27a43979
98cd4b641929e35cd3482b058e00ef7d0a151126
/Hafta3_Odev_2.py
f4a0709fe786e38511049dd3e91b7eff0e4fe905
[]
no_license
organichacker/KOU_Python
60abaa9cf5eec1d0509d9d7113f152ee60e30cfa
d4534d94ef7a32c2e684f5baaac2a7ff30dee96b
refs/heads/main
2023-04-25T09:01:51.586110
2021-05-22T14:20:48
2021-05-22T14:20:48
365,274,296
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
import pandas as pd Kaynak = pd.read_csv('C:\\Python\\Project\\Deneme\\top50.csv',usecols=['Unnamed: 0','Track.Name','Genre','Danceability']) Kaynak_Genre = Kaynak['Genre'][:] import matplotlib.pyplot as plt y = Kaynak['Danceability'][:] x = Kaynak['Unnamed: 0'][:] plt.barh(x, y, height = 0.1) plt.show()
[ "noreply@github.com" ]
organichacker.noreply@github.com
7ba620607c2587cb5f225e039c698cae340a4015
3c0f8b3ff8e15d354a92ab060a9bda187f1eb4af
/blog/migrations/0004_blogcategory_parent.py
fcdf3d2bce1cdf390d1b68f1a2d3d0b5c1b6b873
[]
no_license
TamannaArora/Blogging
cc9baedb0bfe1e6b19923fdcae749dbafd740d54
57467e4c5f311db45878a588e94eaac91ab160e6
refs/heads/master
2022-12-15T04:53:56.092112
2018-09-24T06:35:40
2018-09-24T06:35:40
149,570,576
0
0
null
2022-12-07T23:52:22
2018-09-20T07:38:17
Python
UTF-8
Python
false
false
694
py
# Generated by Django 2.0.8 on 2018-09-07 10:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0003_blogpage_author'), ] operations = [ migrations.AddField( model_name='blogcategory'...
[ "tamanna.arora@netsolutions.com" ]
tamanna.arora@netsolutions.com
2e12579543198362bbc5700bcf87a57054c877db
fb87f29a2cc1997b38943191a416cc32ba095f6d
/doc.py
b66347cb1de430daca2a52196f407489a0ae3f72
[]
no_license
Lludion/QGOL
05a6e58c69085ec89a09a2d482fce96eded70ec5
03b902a2fb2334a008b2ec840f094cf71b372f0d
refs/heads/main
2023-01-08T21:50:25.577876
2020-11-11T10:46:42
2020-11-11T10:50:06
303,635,962
4
0
null
null
null
null
UTF-8
Python
false
false
51
py
from doc.documentation_creator import main main()
[ "ulysse.remond@outlook.fr" ]
ulysse.remond@outlook.fr
b001592fbd0025106b5c0de3a8e0852a6fb0006e
226b1c73a706f4734834196d18305d4d2c873589
/synlib/descriptions/EDFFXL.py
206bab5d4710ad637b02fca8e34e937d415a73fb
[]
no_license
ocakgun/vlsistuff
43b4b07ae186b8d2360d11c57cd10b861e96bcbe
776c07f5d0c40fe7d410b5c85e7381017d4dab64
refs/heads/master
2022-06-13T14:40:22.641310
2020-05-08T11:09:00
2020-05-08T11:09:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
Desc = cellDescClass("EDFFXL") Desc.properties["cell_leakage_power"] = "1762.140420" Desc.properties["cell_footprint"] = "edff" Desc.properties["area"] = "76.507200" Desc.pinOrder = ['CK', 'D', 'E', 'IQ', 'IQN', 'Q', 'QN', 'next'] Desc.add_arc("CK","D","setup_rising") Desc.add_arc("CK","D","hold_rising") Desc.add_arc("...
[ "greenblat@mac.com" ]
greenblat@mac.com
021e4fcee7a62e92f84e0a057de120f6f6d67961
6c8f3ab5f952d986a17edda582c5a039bf65c632
/django/consolidate_project/consolidate_project/settings.py
08a82252a1c6016afd3b14e4b91661d7bd5f4c59
[]
no_license
phillipn/coding_bootcamp_projects
3d3bd697728dd4502267e0cd2be7a090952029a8
278f96df9d256364583654a00fe585d474ea86a1
refs/heads/master
2021-01-17T17:30:14.607944
2017-03-19T18:12:32
2017-03-19T18:12:32
82,971,619
0
0
null
null
null
null
UTF-8
Python
false
false
3,218
py
""" Django settings for consolidate_project project. Generated by 'django-admin startproject' using Django 1.10.5. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ ""...
[ "phillipn101@gmail.com" ]
phillipn101@gmail.com
098d337ffef7cf815b953a5de956a51ed097c7e9
00f5c993537b49e415db9e0010679fc56b3d9239
/LZMW.py
177a3064fe6671bcfd7c7fa1ef7987ecffcc379c
[]
no_license
rgkaw/LZW-LZMW-and-LZAP
e0980d4d540fe6c40c658f77b74ed31caa603f5e
ea0caafacdc529fa36d4c33d19ef2f20182224a8
refs/heads/main
2023-06-02T06:09:47.458065
2021-06-22T17:26:13
2021-06-22T17:26:13
378,699,327
0
0
null
null
null
null
UTF-8
Python
false
false
5,117
py
def encode(array): last=256 i=0 array_len=len(array) prev_match=b'' match=b'' out=[] while(i<array_len): match=bytes([array[i]]) while(match in dictionary): i=i+1 try: match=match+bytes([array[i]]) e...
[ "noreply@github.com" ]
rgkaw.noreply@github.com
9024d6d29a05f047350bb653f30fa1105ce5e289
8ded9e9a614064489e999316fc79f517e0c1bc1b
/midca/modules/act.py
ffd81a660e2cdf427234cdbddf3511e5ee5ca96b
[]
no_license
COLAB2/GraceMIDCA
32553b958c46d8a1ee043d1ff5c1d6fb908cc942
43925081dfb19088fb3454c36a5286789fe9c140
refs/heads/master
2020-07-07T03:20:37.468101
2020-03-30T23:37:02
2020-03-30T23:37:02
203,229,031
0
0
null
null
null
null
UTF-8
Python
false
false
16,720
py
from midca.modules._plan.asynch import asynch from midca import base import copy class AsynchronousAct(base.BaseModule): ''' MIDCA module that "executes" plans in which the individual actions will be conducted asynchronously. This was originally designed to allow MIDCA to work as a robot controller i...
[ "sravyachowdary1994@gmail.com" ]
sravyachowdary1994@gmail.com
45a82527d6560beaeb597f6c84a2d895aa67a527
49d843353d464410420f98bfffced7b9ffcde351
/PycharmProjects/Stage 2/day18/thread_1.py
bdfda35db27ac1b46a1cb5f8cee0168d1e3fc7c5
[]
no_license
davidlu2002/AID2002
a634232a4c23e6541f1b164167d6f0dcdd77d95e
4eb6854493aea5440b4736acda29d99047c7db81
refs/heads/master
2022-10-18T14:56:56.673308
2020-06-10T02:14:10
2020-06-10T02:14:10
270,518,044
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
""" thread_1.py 线程使用1 """ from threading import Thread from time import sleep import os a = 1 # 主线程的变量 def fun(): for i in range(3): print(os.getpid(),"运行程序1") sleep(2) print("程序1运行完毕") global a print("a =",a) a = 10000 # 分支线程内改变主线程的变量 # 创建线程对象 t = Thread(target=fun) ...
[ "2568899732@qq.com" ]
2568899732@qq.com
b3bcc9971980112e5416187d1d42f22e61ee3885
ce93b078ac34a797e3950077fd0c226519e9930e
/venv/Scripts/easy_install-3.7-script.py
6c9212e7e98fe7d0a32ec9db20e22a05c23e1016
[]
no_license
chetanpant11/HackerRankCompetitiveProgramming
9b8890a6ced45da700c2ba0586b208b8fef574db
0596d4a29a3abb9e5bc922d05e60c231fc50a46a
refs/heads/master
2020-06-12T22:11:18.447900
2020-06-02T14:09:12
2020-06-02T14:09:12
194,443,099
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
#!"C:\Users\CHETAN PANT\PycharmProjects\Hackerrank\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-...
[ "chetanpant87@gmail.com" ]
chetanpant87@gmail.com
aed20090029a8657ee670be14f222021220a3fbf
1bdfc75a73cf424154e1eeeca2d77ada1548197c
/xinxi2.py
a3e54ba697bf74173f4ec34237963edf27c07077
[]
no_license
15921970316/test_chor_new
6320d74ab92c3d8d8801c8086ff8b91b1fb85c12
8eba96786d5885027c979aa89a356d25a2a0a822
refs/heads/main
2023-01-19T23:32:14.586241
2020-11-26T02:44:56
2020-11-26T02:44:56
316,100,256
0
0
null
null
null
null
UTF-8
Python
false
false
6,026
py
import datetime import socket import cou import unit from api.sk2 import xintiao, zhuce, CCPTX_Report, CCPRX_Report, BLINK_Report import threading import time sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sk.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) Rx_seq=0 tts=0 Blink_seq=0 Blink_tts=...
[ "noreply@github.com" ]
15921970316.noreply@github.com
f232197bf4bdd9302fbe97431575ee55b7c2c3d1
89dbaf6b4e7e79441a1bcfdce7b645179209d2ea
/qa/rpc-tests/mempool_resurrect_test.py
a0096eaa1bc84f96b32d6075f7db303b255cc123
[ "MIT" ]
permissive
dzcoin/DzCoinMiningAlgorithm
cd7f7af778f350442e3b1154ae34ec1916a46b2a
b0294cf5ac893fe907b08105f1aa826c3da464cf
refs/heads/master
2021-01-09T20:57:23.439272
2016-08-14T17:33:38
2016-08-14T17:33:38
65,678,189
0
0
null
null
null
null
UTF-8
Python
false
false
3,414
py
#!/usr/bin/env python2 # copyright (c) 2014 the dzcoin core developers # distributed under the mit software license, see the accompanying # file copying or http://www.opensource.org/licenses/mit-license.php. # # test resurrection of mined transactions when # the blockchain is re-organized. # from test_framework.test...
[ "dzgrouphelp@foxmail.com" ]
dzgrouphelp@foxmail.com
223fdee3194358515d95388c141e4d2e97b7c2c5
6fecc74a147ff8c3966bb94a491aae6e26e3b439
/config/base_config.py
77bf7e15d09abb7d10e3997aa2fec34c61bdfb4a
[]
no_license
lukang287/ws
13adddc0a7e2b8b920137972f132ec8df2d135ba
26626849c683caa89489939b279c50116e77baf9
refs/heads/master
2020-04-20T06:11:56.843679
2019-02-01T09:46:12
2019-02-01T09:46:12
168,676,116
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
WS_SERVER_PORT_ONE = 5001 WS_SERVER_PORT_MUTIL = 5000 #MQ配置,queue用于一对一不丢失,topic用于发布订阅,一对多会丢失 MQ_BROKERS = [('106.13.4.172', 61613)] LOG_QUEUE_NAME = '/queue/log' CMD_QUEUE_NAME = '/queue/cmd' NOTIFY_TOPIC_NAME = '/topic/notify'
[ "lukang@lightinthebox.com" ]
lukang@lightinthebox.com
52519de05a1705498f59ab6900fec766342624d4
cf98e53c7d74a717a1ccb60d10396f78f2572f82
/EMP/EMP/wsgi.py
fe7dbac48b66751c7e61d86fbc255de82dec892e
[]
no_license
mkm1997/ESCALE
f09cb18b0b26ea94bfaccbd10eee3fe81d0d9ee9
99a163b25b57d57fb6412a172dd4c51fb0f7ee8a
refs/heads/master
2020-03-19T05:24:30.592902
2018-06-03T17:59:10
2018-06-03T17:59:10
135,927,715
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for EMP project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_...
[ "mmanish184@gmail.com" ]
mmanish184@gmail.com
f30cc6d0be2770d0b1aa2a10eecb5907a6985c08
638fabe27947b1b9bfc8b357d94cb7faf82c1f8d
/harshudubey.py
966bd50a563dddaf114c69f7d26b1ee484402e57
[]
no_license
harshudubey/harahu
494ad353d608311812ec967a42296bee330141ff
a5567a0bad7868fd87f1eda4d45b78bbd7b3f2b4
refs/heads/master
2022-04-28T08:31:22.053346
2020-04-19T00:09:09
2020-04-19T00:09:09
256,864,102
0
0
null
null
null
null
UTF-8
Python
false
false
25,031
py
#!/usr/bin/python2 #coding=utf-8 #The Credit For This Code Goes To lovehacker #If You Wanna Take Credits For This Code, Please Look Yourself Again... #Reserved2020 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests...
[ "noreply@github.com" ]
harshudubey.noreply@github.com
64dacea4bbd3545e9a02839b932ed4f059fae753
d2b4cbf47cdbdc74a74c348043aaf8bef9b56904
/crepes_bretonnes/blog/templatetags/blog_random.py
3fc1ab132d150b73e8f383cef7a4a01b60358d82
[]
no_license
chadyred/breton-py
25fbe08a3180d72a942ceaf4b2b04991b8868a1f
06b61b98ca2d7160fd236852c490faf3536bb5f8
refs/heads/master
2021-01-12T17:28:31.320452
2017-05-29T06:45:13
2017-05-29T06:45:13
71,578,361
0
0
null
2017-05-26T08:03:13
2016-10-21T15:35:13
Python
UTF-8
Python
false
false
329
py
#-*- coding: utf-8 -*- from __future__ import unicode_literals from random import randint from django import template register = template.Library() @register.simple_tag def random(begin, end): try: return randint(int(begin), int(end)) except Exception as e: raise e + "Deux arguments int sont néce...
[ "fcellier@norsys.fr" ]
fcellier@norsys.fr
16df41a61ad44e7d25d5d072c4382cdc29cedec8
0f932e961983e310cf6c12608d55cfc526be55ad
/hw1.py
7b0de8e27706ce210cdfb6657974f387b15e604a
[]
no_license
alexandrov-nikita/homework1_hse
00a65e738571858b1bd91065bba028138183dc21
e33365f987fdc21bd607572d8e46bce4bfcb7b77
refs/heads/master
2021-01-19T19:26:43.052243
2016-02-29T09:01:19
2016-02-29T09:01:19
52,109,922
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
import csv import sys import math import imp import os def read_data(file_name): return list(csv.reader(open(file_name, 'rt'))) def create_dictionary(data, output): dict = {} for index_row, row in enumerate(data): for index_column, cell in enumerate(row): if cell[0] != '=': dict[chr(ord('...
[ "alexandrov-nikita@yandex.ru" ]
alexandrov-nikita@yandex.ru
002dc2a20200db290f59b8d827b0e30db0263dda
7f059f64638762a4af033553e10fe0707dacbbcc
/archive/python/backtracking/Permutation.py
5e1a1acae68632ca4dca1b31e355bf0a306c13d1
[ "MIT" ]
permissive
sureleo/leetcode
df9099d895faaa7f14aa5c0309cbd603ccf22e2f
190b81817c7e7c564f5f1299b8c5638d10d2a511
refs/heads/master
2021-01-10T18:26:24.372568
2019-12-24T17:45:40
2019-12-24T17:45:40
28,789,872
1
2
null
null
null
null
UTF-8
Python
false
false
657
py
class Solution: # @param num, a list of integer # @return a list of lists of integers def __init__(self): self.num = [] self.result = [] def permute(self, num): self.num = num self.dfs([], self.num) return self.result def dfs(self, valuelist, num...
[ "surezeroleo@gmail.com" ]
surezeroleo@gmail.com
e7e50b7844d4d1c49182d4a961b9980532ff96c3
d08c620cf5b9a2f3a55a45895bbd6586a020b74d
/foodcartapp/serializers.py
406ff0c23e81eb9b589cba585ae33500a6409474
[]
no_license
TheEgid/starburger
a7b6d9c941852f135d466629e83d3f2ecfce1c96
9cfcb2a02fa7adb89c05c967933f4faa3bfb74e8
refs/heads/main
2023-07-07T18:00:54.962547
2021-08-14T08:27:48
2021-08-14T08:27:48
346,059,152
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
from phonenumber_field.serializerfields import PhoneNumberField from rest_framework.serializers import ModelSerializer from .models import Product, Order, OrderItem class ProductSerializer(ModelSerializer): class Meta: model = Product fields = ['id'] class OrderItemSerializer(ModelSerializer): ...
[ "egid.f1@gmail.com" ]
egid.f1@gmail.com
cf841b76b1eb5e60fcea019a4d0aafa4043d1dfd
d778a0da8ab7157dc76d42a709367f37161fa565
/bookmarks/account/forms.py
35950adad9ed652ab900fc57d45ee98ce9f5d329
[]
no_license
AmazingSkyLine/Django-By-Example-Project
86780b8a6e7e86ac0d881993dc7a6baae1b5a9b4
689f300169fba70da56e44ce4e8468df35f2f7a9
refs/heads/master
2021-05-12T09:52:06.624892
2018-02-28T16:24:26
2018-02-28T16:24:26
117,336,269
1
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
from django import forms from django.contrib.auth.models import User from .models import Profile # 登录表单 class LoginForm(forms.Form): username = forms.CharField(label="用户名") password = forms.CharField(label="密码", widget=forms.PasswordInput) # 注册表单 class UserRegistrationForm(forms.ModelForm): password = ...
[ "15002963138@163.com" ]
15002963138@163.com
26430b17c1584bfa3251927a4d94dab96ff51f73
fc9f2add016408d650ef273d9fe113f96dda4f06
/sum.py
8fc0c4bfeb5b9eb965672ce157f566269ad13818
[]
no_license
takatsugu21/gitTest
a973e99686b099652a32d54dda1c6c50e50bf071
9ecf525c982a55755547e01fc108c599f1e933c7
refs/heads/develop
2023-05-04T19:20:00.700738
2023-04-27T09:37:09
2023-04-27T09:37:09
339,895,009
0
0
null
2023-04-27T09:37:58
2021-02-18T00:43:58
Python
UTF-8
Python
false
false
35
py
answer: int = 1 + 2 print(answer)
[ "takyama@nttpc.co.jp" ]
takyama@nttpc.co.jp
924ce17d10d664bfe831de2f8652c0305d50c24d
33546aee6429d5b8f19a02e14699b6ebb5b34af8
/src/ui/surface/surface.gyp
a6ad39b07e77af7c516496738acd933474cdbba8
[ "BSD-3-Clause" ]
permissive
mYoda/CustomBrs
bdbf992c0db0bf2fd1821fa1fd0120ac77ffc011
493fc461eb7ea7321c51c6831fe737cfb21fdd3e
refs/heads/master
2022-11-22T09:11:37.873894
2022-11-10T10:02:49
2022-11-10T10:02:49
24,951,822
0
1
null
2022-11-02T14:39:34
2014-10-08T17:22:30
C++
UTF-8
Python
false
false
1,100
gyp
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'target_defaults': { 'conditions': [ ['use_x11 == 1', { 'include_dirs': [ '...
[ "nechayukanton@gmail.com" ]
nechayukanton@gmail.com
0dacb01c1f22a603da98647bc57c25c62fc8e595
c64ed5cd5f60f1ad5def09fcc39655519cb6f09e
/resources/map/items.py
5f592669b5ee831bd807ebf077a46bee49a7eeb7
[]
no_license
moonblade/WebGame
33f0f45047282d7c44e6a4ed8b4a79589f285ee3
45761c6e6ca383f991eacb919a9ab105a96cebd1
refs/heads/master
2022-12-16T06:05:25.307195
2021-05-29T14:44:52
2021-05-29T14:44:52
156,554,764
0
0
null
2022-12-03T21:01:05
2018-11-07T14:00:32
TypeScript
UTF-8
Python
false
false
331
py
#!/usr/bin/python import os outfile = 'items.png' files = os.popen('ls ./items | sort -n').read() files = ["items/" + x for x in files.split('\n') if len(x) > 0] # files = [files.split('\n')[-1]] + files.split('\n')[:-1] files = ' '.join(files) # print(files) command = 'convert ' + files + ' +append ' + outfile os.syst...
[ "moonblade168@gmail.com" ]
moonblade168@gmail.com
a1b319d7316abd8fab6acf241849f8384c7b2092
31fae1d7ae1b3e5326db5935749ce2dd359e3827
/malabar/config.py
8cbcac8ccba4e2fe44b374cf34ab15582f8eaa48
[]
no_license
tomrtc/pyotecmalabar
98fb4dde37a5753c6dffcd5eab703e174fb2a706
f49f5c8726dee54988d7b511e7f6287044009dec
refs/heads/master
2021-01-10T20:36:51.114167
2015-11-20T17:31:40
2015-11-20T17:31:40
42,729,090
0
1
null
null
null
null
UTF-8
Python
false
false
2,017
py
import configparser import click import os import pprint as pretty CONFIGURATION_APPLICATION_PATH = click.get_app_dir('malabar') CONFIGURATION_FILE_NAME = os.path.join(CONFIGURATION_APPLICATION_PATH, 'configuration.ini') DEFAULT_GROUP = 'otec' RSS...
[ "Remy.Tomasetto@alcatel-lucent.com" ]
Remy.Tomasetto@alcatel-lucent.com
bb0dcab2d93ab44998895a25f23b7638074da429
32572cb805af797a3190311fdbe7b50c28f3e6ef
/reptilian.py
47087223257de45030d2387ef3c5bfbbfd9dd0f5
[]
no_license
weiqifa0/python-weather
b629d10f9b8ab82bfe0cdaeddfb46b108caf32f3
b3eb06d67ad992a57d2b8ee91da30bb7868cc9b0
refs/heads/master
2020-03-29T01:02:36.175886
2018-09-19T00:34:47
2018-09-19T00:34:47
149,368,504
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from getContent import * from getData import * from writeDate import * if __name__ == '__main__': url = 'http://www.weather.com.cn/weather/101210101.shtml' html = getContent(url) # 调用获取网页信息 result = getData(html) # 解析网页信息,拿到需要的数据 writeData(result, 'E:/project/python/Reptilian/weather.csv') # 数据写入...
[ "329410527@qq.comgit config --global user.name" ]
329410527@qq.comgit config --global user.name
d0f805cd5b4c54300491e93aef4f4b816517393e
ea872f0a2bcc4270b7089120e3eb2f8dd32a165e
/Baxter/build/planning_baxter/catkin_generated/pkg.develspace.context.pc.py
e788f2c9fa75bd9400e0e1903a35e10d75c2678c
[]
no_license
ZhenYaGuo/Warehouse-Robotic-System
2def137478911f499c45276aa3103a0b68ebb8d7
47b78d111b387102e29d2596bd5dc7c704f74f8f
refs/heads/master
2021-08-24T04:12:43.379580
2017-12-08T01:48:09
2017-12-08T01:48:09
113,405,332
1
0
null
null
null
null
UTF-8
Python
false
false
415
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "planning_baxter" PROJECT_SPACE_DIR = ...
[ "31947861+ZhenYaGuo@users.noreply.github.com" ]
31947861+ZhenYaGuo@users.noreply.github.com
2c665d14bac78537c42bd9cb1e10069b7f4a285c
744bbf27f7e6f397e872a1a019d0c8eda46bf1e5
/subjects/migrations/0002_auto_20200728_0941.py
73128baef5afb2d787efd2b679f5434171cb5e9a
[]
no_license
joesky-trojey/SchoolManagement
42d5d58dbabd58e0afbae77d922ea87d8c0ee3c6
46595fb52f9f4afcaacd042cfdf7903b08249011
refs/heads/master
2022-11-30T20:14:43.853513
2020-08-13T08:37:40
2020-08-13T08:37:40
287,223,237
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
# Generated by Django 3.0.8 on 2020-07-28 09:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('subjects', '0001_initial'), ] operations = [ migrations.AddField( model_name='subject', name='shorthand', ...
[ "trojey@localhost.localdomain" ]
trojey@localhost.localdomain
2a2b92ed730c26b01a26a8190e3a3db8eba1cd6e
c524baf320d12b456fa3b2c14127835df3cab567
/News_Feed_Generator/source_code/Files/scraping.py
524561349c0bf43d31396e5ba1f722cabac1ab0e
[]
no_license
kapil123-git/News-Feed-Generator
3f7551bfa941bb08d5055c63b4c07931c0cb4797
883d68c068bc456c609d1de55e3eb8751102f68a
refs/heads/master
2023-03-14T22:06:14.762197
2021-03-30T17:45:15
2021-03-30T17:45:15
353,085,294
0
0
null
null
null
null
UTF-8
Python
false
false
6,155
py
import requests from bs4 import BeautifulSoup import pandas as pd from datetime import datetime from tqdm import tqdm, tqdm_notebook from functools import reduce import os def getSources(): source_url = 'https://newsapi.org/v1/sources?language=en' response = requests.get(source_url).json() sources = dict(...
[ "kapilsharmag99@gmail.com" ]
kapilsharmag99@gmail.com
541499ca55be3f2e1263c133d3499ab8864a3f6e
0649c9b00358dd7b3ca418f7ce15ff88507ed6b3
/storage_data.py
bbaf647ccba897a5ed812da12c2ddb2007fc1b50
[]
no_license
Aaron9477/sky_lake
9c9b7904dbd3e36a366508aa0d3beccedd7355d9
baaba25bc72c81cf0868136a623036529eb9a840
refs/heads/master
2021-08-08T00:02:03.903907
2017-11-09T06:54:31
2017-11-09T06:54:31
109,121,106
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
import src.utils as u if __name__ == '__main__': for m in u.get_malls(): u.get_data(m)
[ "869788668@qq.com" ]
869788668@qq.com
c44fa50e6751f303019b95234a6cdbe51e7c54d4
c035076460b928695fcabd2fe5b286da45133a9c
/WordCount.py
6371398c39f8f4b8b57c7af99012f6bbb3bcf89a
[]
no_license
ckimani/WordCount
2451500ee565fbf01b086e762db01f50088f5ba6
b979244251c94815bebec9bf0eb993bb92166557
refs/heads/master
2021-01-11T19:06:46.434958
2017-01-18T08:49:07
2017-01-18T08:49:07
79,319,324
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
def words(str): #Function declaration that accepts a series of strings as an argument. cnt = dict() """ Creating an empty dictionary data type, to hold the string and the integer (The number of occurences as a pair). """ word = str.split() #The split() function will take each string in t...
[ "noreply@github.com" ]
ckimani.noreply@github.com
ae98570c90dd3ee5fc9a254f560b3788e9a1a2e9
7e15ff5ffc93ffe8aacf3675e82f37ead51843a2
/main.py
6c9459540d31a451942dc9d8f0834beb4b4d0924
[]
no_license
AP-MI-2021/lab-2-ale-stanciu
727532fdae7af58d17d90f3540f7f9f410dd1f99
5e471fdc5138dea5479658e83c1fbaf856e0b945
refs/heads/main
2023-08-31T20:06:53.338845
2021-10-06T06:37:31
2021-10-06T06:37:31
411,532,189
0
0
null
null
null
null
UTF-8
Python
false
false
2,337
py
def is_palindrome(n): """ determina daca un numar este palindrom :param n: un numar intreg :return: True daca este palindrom sau False in caz contrar """ cn=n oglindit=0 while cn!=0: oglindit=cn%10+oglindit*10 cn=cn//10 if n==oglindit: return True return F...
[ "aleestanciu@gmail.com" ]
aleestanciu@gmail.com
426610fdd1399339d2e3a2442398b51ab5209027
c5146f60c3a865050433229ba15c5339c59a9b68
/zhaquirks/plaid/__init__.py
203efe3bfb31a25162bfb3a165e8d609307592a0
[ "Apache-2.0" ]
permissive
Shulyaka/zha-device-handlers
331505618a63691a86b83977b43508b0e3142af2
84d02be7abde55a6cee80fa155f0cbbc20347c40
refs/heads/dev
2023-02-22T10:17:09.000060
2023-02-04T15:57:17
2023-02-04T15:57:17
194,286,710
1
0
Apache-2.0
2023-02-04T22:59:20
2019-06-28T14:25:54
Python
UTF-8
Python
false
false
72
py
"""Quirks for Plaid Systems devices.""" PLAID_SYSTEMS = "PLAID SYSTEMS"
[ "noreply@github.com" ]
Shulyaka.noreply@github.com
45be380484fe42397031b27daa726ba233ca0a75
1b66bcf36d7578c3b1dfb5b1ce1570aa46596072
/src/gameapp/round/controller.py
463728ed40731ec5f3b6700f0f698d67ba056882
[]
no_license
germanoa/elyphoot
c8e2f225d0649bd522c52c97823bb895409ac2cf
8648a9584d5da03e31b899bad2db8842f0e50233
refs/heads/master
2016-09-10T19:02:45.576423
2012-06-22T22:06:08
2012-06-22T22:06:08
32,347,865
1
0
null
null
null
null
UTF-8
Python
false
false
2,166
py
import gameapp.match.controller import gameapp.season.controller from gameapp.models import Round def run_round(season, game_round): if game_round is None or game_round.resolved: return False results = map(gameapp.match.controller.run_match, game_round.matches.all()) for r in results:...
[ "raphaelbaldi@gmail.com@cf4997be-b4d0-2e88-bcf9-847bdaf59e33" ]
raphaelbaldi@gmail.com@cf4997be-b4d0-2e88-bcf9-847bdaf59e33
a2769b3ae31b35c5712c041a8a7d129ddd2971da
ef67ea9b7f450a4317553882a28205194dcd5a86
/ci/cib.py
80d7ee0ca2c404968a3a8db1a091a88d4a81bdf1
[]
no_license
tp-tc/cloud-image-builder
a19c62a24a22fe140a58f3f50d5e734163c6cc26
430465adc63f5a0a7f0eda2f6e8f73949c08b34e
refs/heads/master
2022-12-01T17:45:41.404866
2020-05-07T21:32:19
2020-05-07T21:32:19
262,164,488
0
0
null
2020-05-07T21:41:35
2020-05-07T21:41:35
null
UTF-8
Python
false
false
11,383
py
import gzip import json import os import urllib.request import yaml from datetime import datetime, timedelta from cachetools import cached, TTLCache cache = TTLCache(maxsize=100, ttl=300) @cached(cache) def getConfig(revision, key): url = 'https://raw.githubusercontent.com/mozilla-platform-ops/cloud-image-builder/{...
[ "rthijssen@gmail.com" ]
rthijssen@gmail.com
dc6915253df8e0d8731f11cc979a0b8130edcaf3
ef5ecb62af83623b071b81b8d68eaac7fcce80cc
/beginner/question_1118.py
5f3f8d08cc8bc43d4bf3a6dfaeb71c2bae72825d
[]
no_license
LuizHenrique1999/uri_online_judge
0e6d5f48c4ffd58902164ea9decf377b9df46283
937527ef0ebdff9756ab22bd95dbc03218a25144
refs/heads/main
2023-04-01T21:10:24.629839
2021-03-30T21:34:23
2021-03-30T21:34:23
352,787,507
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
def novo_calculo(): while True: print('novo calculo (1-sim 2-nao)') novo_calc = float(input()) if novo_calc == 1: repete_operacao() elif novo_calc == 2: exit() elif novo_calc != 1 and novo_calc != 2: continue def repete_operacao(): li...
[ "luizdesenv01@outlook.com" ]
luizdesenv01@outlook.com
3726da4b6e8c640f2c1e4980ff8758f66e31bb14
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/02_preprocessing/lag82/504-tideGauge.py
f6cdd6a41e7cde5295cbc1bf322d1a52927b4360
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
3,984
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 31 17:12:23 2020 **************************************************** Load predictors & predictands + predictor importance **************************************************** @author: Michael Tadesse """ #import packages import os import pandas as pd import datetime a...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
f5b45500bb75688f6f3ca574206f37660a15e559
e9ef558d04f39f0e82ad63e955dd8772e63c99c3
/chat_project/chat_project/settings.py
a728c23923310ab703ec61e0f1b5ef83ec5c8de4
[ "MIT" ]
permissive
nahidsaikat/Chat
5634ff91eef394ec2b6288d1adff17f0eb867b15
7d314195b03d355844767f7c89cca34f0fad95c9
refs/heads/master
2022-12-14T03:44:01.105994
2021-06-30T15:19:21
2021-06-30T15:19:21
177,983,242
0
0
MIT
2022-12-08T07:44:46
2019-03-27T11:49:48
Python
UTF-8
Python
false
false
3,434
py
""" Django settings for chat_project project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import ...
[ "nahidsaikatft40@gmail.com" ]
nahidsaikatft40@gmail.com
7cd3ad3b9c2bd241d97911ad2747e505a813da0f
678c8ca14253ed854e5e45d2821ee2c9b39c3a6f
/venv/bin/isort-identify-imports
ec4dc8cf2f2912dc8d69b8b5a129757cd519b581
[]
no_license
Wade-Philander/flask
386593bdffc3be2981b59edeb39c96dbbc398278
5ab7fcc4f3f2d1567b0fe4b0600dc96c2f1b01c0
refs/heads/main
2023-03-01T01:38:24.474212
2021-02-09T08:16:36
2021-02-09T08:16:36
337,100,242
0
0
null
null
null
null
UTF-8
Python
false
false
266
#!/home/user/uber-ladies/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from isort.main import identify_imports_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(identify_imports_main())
[ "wadephilander7@gmail.com" ]
wadephilander7@gmail.com
0162203b7365b76dc6cd9b9925f7f1a04b7a2f35
3ddfaf06a0ceba7322f64710a6d145fd27482e13
/BackEnd/venv/Lib/site-packages/psycopg/connection.py
5999f6ac06e6c22fccfa52a3a85b6f73bafcaf68
[]
no_license
NurbakZh/GuideLion
7336a7ce9343b62e97db0607004a45642cb3192e
ee1145d372735579790aef87986f7c8d46cc214f
refs/heads/master
2023-08-13T13:34:22.111612
2021-10-10T19:26:53
2021-10-10T19:26:53
399,252,272
18
0
null
null
null
null
UTF-8
Python
false
false
25,986
py
""" psycopg connection objects """ # Copyright (C) 2020-2021 The Psycopg Team import logging import warnings import threading from types import TracebackType from typing import Any, Callable, cast, Dict, Generic, Iterator, List from typing import NamedTuple, Optional, Type, TypeVar, Union from typing import overload,...
[ "nurbak.zh@gmail.com" ]
nurbak.zh@gmail.com
d5ac621f8b8dade846b1560e41d0dfdf6b8717fb
6833217da57c00bf446dce0d703e8076910ce24f
/Coding Tests/Citibank June 2021/digits.py
35a583659557fbd4277154e099bd7e4b355550f5
[]
no_license
ashjune8/Python-Algorithm-Solutions
d301b903263d2787f5f25d182918ced1405cac73
04d8453d8ba54b6d7b8ca473d796308ae7f4f6b9
refs/heads/master
2022-03-01T05:26:22.212625
2022-02-19T01:23:53
2022-02-19T01:23:53
91,991,134
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
def solution(N): # write your code in Python 3.6 stringConverted = str(N) resultString = '' if(len(stringConverted) == 1): return 0 for i in range(len(stringConverted)): if (i == 0): resultString += '1' else: resultString += '0' return ...
[ "ashjune8@gmail.com" ]
ashjune8@gmail.com
77dd188e69c5ed676818bbd7f52b5ac79d253aa4
22a366e66890009e225b676ff9415c7cc6d26300
/python/src/jobanalysis/skill/process_skills.py
5e74ed1866906762b30add6cbc0e961c4fa4269b
[]
no_license
smaity8136/jobaly
2d0c1cecac09902563ffd1891acee987e2e307f5
1788a95877aaf60471db775a3a88a20719ffc586
refs/heads/master
2022-04-15T03:57:43.770738
2015-04-16T22:42:31
2015-04-16T22:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 21 16:57:48 2014 @author: dlmu__000 """ import json import nltk def loadFile(fileName): f = open(fileName, "r") data = f.read() sents = json.loads(data) for sent in sents: sent[1] = nltk.word_tokenize(sent[1]) print sent[1] r...
[ "pkushiqiang@gmail.com" ]
pkushiqiang@gmail.com
206fdb7aee191629e73417be7113cc20964499a7
1b1b8ecceb3638719ea2657fa2032304f4ed77be
/Week2/Sqrts v.2.py
ddc4d6ad0cb66cf9462cef2493c814e7e9448859
[]
no_license
IndependentDeveloper1/PyCourse
ee649812835f9c153410afe7912dd41616c531bf
e807a30ad88d69824f692b0e4eed101de2d5d607
refs/heads/master
2021-08-27T21:48:50.195313
2019-04-23T08:42:58
2019-04-23T08:42:58
182,575,249
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
n = int(input()) num = 1 numSum = 0 while num <= n: numSum += num * num num += 1 print(numSum)
[ "40405436+IndependentDeveloper1@users.noreply.github.com" ]
40405436+IndependentDeveloper1@users.noreply.github.com
8c203afbdbef4e2245e6299014638e4b27f91d43
778548a8609bfcf098e6681c5bbab34152b694bb
/models/object_detection/pytorch/maskrcnn/maskrcnn-benchmark/maskrcnn_benchmark/engine/trainer.py
050f70a5859206f737c74c7debc3a31e072cd994
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rahulunair/models
695a0077430820e449437399355107eb999fe2e3
75171f0271807944857ece42589b378469017f1e
refs/heads/master
2023-04-08T04:22:13.359790
2022-07-14T20:03:02
2022-07-14T20:03:02
178,485,628
0
0
Apache-2.0
2020-01-09T16:45:11
2019-03-29T23:00:22
Python
UTF-8
Python
false
false
8,610
py
# # -*- coding: utf-8 -*- # # Copyright (c) 2018 Intel Corporation # # 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 app...
[ "abolfazl.shahbazi@intel.com" ]
abolfazl.shahbazi@intel.com
74cd5856a7f5c8210f890e8236daaece08eea2ca
467f4d4487e046f0e3d4594c226f51fd704b036e
/notes/models.py
f913c31ca0105a22d9b608f66872d3efd7cfdbe3
[]
no_license
ekm79/Intro-Django
297835d97413f3d71200bb23db8b2c759bd6ddd5
1b5d59432e56a24b93e2f5074e51b348dfe6e3d7
refs/heads/master
2020-03-28T21:09:56.851925
2018-09-24T01:45:06
2018-09-24T01:45:06
149,134,371
0
0
null
2018-09-17T14:03:25
2018-09-17T14:03:25
null
UTF-8
Python
false
false
1,796
py
from django.db import models from uuid import uuid4 from django.contrib.auth.models import User # Create your models here. class Note(models.Model): id = models.UUIDField(primary_key=True, default=uuid4, editable=False) title = models.CharField(max_length=200) content = models.TextField(blank=True) cr...
[ "ekmeredith@att.net" ]
ekmeredith@att.net
d05b8fe31cb2b3669e6ffacc405b55cbda7ff8b4
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/tunnel/lsite.py
cf53b4bf12e69f5b767bc243bd15658320be6f5d
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
5,189
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
8e685c4e4ad274a232060c4f31069754801a1c1f
88e7541b98a3b0d04b530438e88f875ae495e5d2
/dasgal8.py
36a8243b90da306a79bd10dc7f0dc1ece96d4aa7
[]
no_license
ganbatz/phyton3
b8431ab0097ed97b1de04dc0a6db4c3736cc026b
8b6add2a25a28f34026d3ddb63772f5c3d756559
refs/heads/master
2022-06-24T09:28:40.868184
2020-05-09T17:41:07
2020-05-09T17:41:07
262,625,242
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
# 3 toonii bagiig ol n1 = int(input()) n2 = int(input()) n3 = int(input()) if n1<n2 and n1<n3: print(n1) elif n2<n1 and n2<n3: print(n2) else: print(n3)
[ "noreply@github.com" ]
ganbatz.noreply@github.com
969f365246c8ceea4c1c5d7d90d7b60f7bc7eb08
c9f795e53185be1648748d04591cfc4bfe0e9f62
/Dict_Ques18.py
5d8eb90557b9a532f7b163c0df9d058b8774148c
[]
no_license
pragatirahul123/Dictionary
26c3f6d6b0f9dc8f0dd7e4f025cc66072b207469
b7241021225cdf0866a8c6b53998c3530150f022
refs/heads/main
2023-04-10T09:11:07.817534
2021-04-14T10:54:37
2021-04-14T10:54:37
346,099,013
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
Student = {} Age = {} Details = {} Student['name'] = "bikki" Age['student_age'] = 14 Details['Student'] = Student Details['Age'] = Age print (Details["Student"]) print(len(Details["Student"]))
[ "zeba18@navgurukul.org" ]
zeba18@navgurukul.org
2c2924c19e6a3a94b0406b64ade076b0ac8980a2
0b7e6eff0a50eabc9baa0d8f520fcc3eaa90ab92
/prilese/users/migrations/0001_initial.py
76994a477641671fbb753695df9f17ae686ae1de
[]
no_license
Nicolay-kr/Prilese
6771e9f5fef497d82a5e065699eb888674348979
8e302dffbe474e0d9367db59ec4b4f86a2a0d49c
refs/heads/master
2021-03-21T22:07:48.145884
2020-03-30T17:19:42
2020-03-30T17:19:42
247,330,656
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
# Generated by Django 3.0.3 on 2020-03-29 21:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "nicolay.krischenovich@gmail.com" ]
nicolay.krischenovich@gmail.com
c3b32385840796ed26b9f8080a349b5791153a94
97ef7d275cdbc37b45b8ce4225919a89378d59dc
/c3_sniffer.py
c67c99422f7e626a94b0705d11c05ab3f7cb8dff
[]
no_license
tediswht/blackhatpython
d49dc848c0a797825e4c58eb62c92c2a37cf1730
52402ed624ceab5a59514b13dd0be28483807692
refs/heads/master
2020-07-25T08:35:46.095785
2019-10-03T02:12:56
2019-10-03T02:12:56
208,232,376
0
0
null
null
null
null
UTF-8
Python
false
false
3,028
py
import struct import socket import os from ctypes import * import threading import time from netaddr import IPNetwork,IPAddress host = '192.168.1.4' subnet = "192.168.1.0/24" mes = "hipython" def udp_sender(subnet,mes): time.sleep(1) sender = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) ...
[ "noreply@github.com" ]
tediswht.noreply@github.com
07b55d4c6d747ab587d2a653c986f6dcf3e7ad63
a25049ab1d4fa9fb1fcce26d075060ad15ec0a21
/MovingBall.pyde
e4793e35fb71e00cad2b7044f362fa6617b04382
[]
no_license
ABahASC/Alpha_ASC3
a5fd1e8a27c36df44fe5b00f3fb9c3a6b6a92f0e
226264877a800b7f11a99bdd0bd732b934aa727d
refs/heads/master
2020-03-28T01:04:30.195960
2016-08-02T18:18:45
2016-08-02T18:18:45
63,184,210
0
0
null
null
null
null
UTF-8
Python
false
false
315
pyde
x=200; y=1; speed = 1 def setup(): size (400,400); smooth(); background(0); noStroke(); fill(0,255,0); def draw(): global x global y global speed background(0); rect(mouseX,330,40,40) ellipse(x, 200, 40, 40); x=x+y; if (x>width-20 or x<20): y=-y;
[ "alphabah212@gmail.com" ]
alphabah212@gmail.com
5da615bcc36f2e359d5a12aac4d401a12f9cf241
0a3d71624f104e2a4ca3341988b15ac4e5e40b1b
/Coding_Challenge/Arrays/pickFromBothSides.py
de0dabf44c28a9fb3b05b841c540c5a0eb6b4d7f
[]
no_license
LD1016/Data-Structures-and-Algorithms
b6f72735e3280fd0ed457bde665614a1da78756c
9087d926f750bdea448579a56e82496c280d9242
refs/heads/main
2023-03-22T03:12:18.654731
2021-03-18T07:10:30
2021-03-18T07:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
""" Given an integer array A of size N. You can pick B elements from either left or right end of the array A to get maximum sum. Find and return this maximum possible sum. NOTE: Suppose B = 4 and array A contains 10 elements then: You can pick first four elements or can pick last four elements or can pick 1 from front...
[ "lancedang@Lances-MacBook-Pro.local" ]
lancedang@Lances-MacBook-Pro.local
ad8427a59154bcb1575bed1b77b319a6f99a58da
8b6eeff24db9fb119f7f543ae6163f766fb715e6
/train.py
516d2c06392454eec537670a1ca76f5c87545068
[]
no_license
dalmouiee/comp9417
e1d003aee888a073ed3da46081206ee65ecaaf91
486498c06c25fc386458fff7e304f8809c0f7c2f
refs/heads/master
2022-01-31T10:13:07.306605
2019-08-08T02:56:14
2019-08-08T02:56:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,035
py
import math, random, os, sys, time, glob, cv2 import tensorflow as tf import numpy as np from sklearn.utils import shuffle import matplotlib.pyplot as plt from numpy import array # Hyperparameters batchSize = 16 imageSize = 64 numChannels = 3 categories = ['positive', 'negative'] def createPlaceholders(): x = tf.pla...
[ "d.almouiee@gmail.com" ]
d.almouiee@gmail.com
faeb48b3793e096e48d2d4c9726e6dd1be41a601
2f732dbfcc1932b5ef043c135fb1c2c7b2fe0d02
/BVP.py
be030c9f2aeea447cc2d801b43df815a3a4dc4d4
[]
no_license
Jafaranafi/NEWTON_AIMSCMR1920
b6d849e36ec5a25786a16dc37707ed7bd16b7525
af26595f1ca9693fd7d391712576b6a6d0688764
refs/heads/master
2022-11-17T04:37:28.555514
2020-06-17T23:34:23
2020-06-17T23:34:23
256,739,570
1
0
null
null
null
null
UTF-8
Python
false
false
6,280
py
import numpy as np from scipy.sparse import spdiags from scipy.sparse.linalg import spsolve, norm def Bvp_DD(fcn, a, b, ua, ub, Nx): """ Solution of 1D boundary value problem -u" = fcn(x) for a < x < b with Dirichlet boundary conditions u(a) = ua, u(b) = ub. on a uniform mesh """...
[ "noreply@github.com" ]
Jafaranafi.noreply@github.com
02f13b4e97361be88fb47c40bc0c2c77d644194f
d0289b1670fc11e8e5233d6ae87ebda301e313aa
/test_mnist.py
67bf603f772f47d660f79e5d5a5de77d0741b130
[]
no_license
Jthon/wgan-gp
201f03d1d649756555a65c6c2d6266b5c92352b5
605dc6675f06a48f0161d5e1da813bdef365f3b9
refs/heads/master
2022-06-14T06:00:51.764708
2020-05-07T04:38:53
2020-05-07T04:38:53
261,795,496
1
0
null
null
null
null
UTF-8
Python
false
false
509
py
import load_mnist import config as cfg import numpy as np import cv2 mnist_dataset=load_mnist.MNIST(cfg.params["mnist_image"],cfg.params["mnist_label"]) for i in range(0,mnist_dataset.datanum): signal=False print("num=%d"%int(mnist_dataset.labels[i])) while True: key=cv2.waitKey(5) if key==1...
[ "henrycai0909@gmail.com" ]
henrycai0909@gmail.com