blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
d731a6e23ccd6f7645c4e6653560793e812b1aa1
81c96f00a92d8bf094e6234bc70e03df4dff0641
/IntialTowerofHonai.py
bdcb1467d30d8bc73509fe8bac7ff8378e238ab2
[]
no_license
rkankanala26/Python_Class
ce41a079d41703493c23548e8041ea013d6e8725
410291933f04e369f387a610c050fd1f982e4a79
refs/heads/master
2022-12-22T12:36:03.991818
2020-09-27T16:11:05
2020-09-27T16:11:05
273,601,658
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# create Method def drawPole(): for x in range(1,5,1): print (" |") def drawBase(): print('----------') def drawTitle(title): print(f" {title}") def drawTower(title): drawPole() drawBase( ) drawTitle(title) drawTower("Tower-A") drawTower("Tower-B") drawT...
[ "rkankanala26@gmail.com" ]
rkankanala26@gmail.com
bb20d089871e928764cadb53ca4b96f3bbc36eb0
4f6c695d1d570130a40dfe8193a53f040dc6bd4b
/simpleApp/urls.py
2d8965f56567904eb7bdc135b7824915215efe86
[]
no_license
Midonika/SimpleApp
cc098d14fbd74339ccabf8cd35619aa41ebb3caf
325555cff037a941a944e451129ccbbdd739175d
refs/heads/master
2022-12-21T04:47:56.158094
2019-03-19T18:52:40
2019-03-19T18:52:40
176,401,765
0
0
null
2022-12-19T21:10:36
2019-03-19T01:51:42
Python
UTF-8
Python
false
false
751
py
"""SimpleApp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "dominika.imilkowska@gmail.com" ]
dominika.imilkowska@gmail.com
57790d9d1660759cda52eb5ff93e7b321e6e4779
6c9c1ed5593316ca7bebe864eb308e16ca7843dd
/backend/dating/admin.py
ca4d973f149746d4b2d2b74ef709b78e86337430
[]
no_license
crowdbotics-apps/test-name-27012
d6d5ec07c0303492935be833520dae473fbef2fa
4396befc206c8369ed4bf92ae2f209309afb5d67
refs/heads/master
2023-05-01T01:49:53.105821
2021-05-20T21:32:21
2021-05-20T21:32:21
369,342,396
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from django.contrib import admin from .models import Setting, Like, UserPhoto, Match, Dislike, Inbox, Profile admin.site.register(Setting) admin.site.register(Profile) admin.site.register(UserPhoto) admin.site.register(Match) admin.site.register(Inbox) admin.site.register(Dislike) admin.site.register(Like) # Register...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
96e7faf6119b74fe1c16d036b92f79969eae1c30
061c36c4b33dd0c47d9d62c2057559d4c5973681
/impala_tables_metadata.py
50ff43fc2d4853b426d43eed02478e993d6efc04
[ "MIT" ]
permissive
ashkankamyab/DevOps-Python-tools
0847f9e1b74d7864d17b0a9833beeef1f149e5a5
dc4b1ce2b2fbee3797b66501ba3918a900a79769
refs/heads/master
2022-10-09T15:23:31.108086
2022-09-01T14:32:56
2022-09-01T14:32:56
189,855,037
1
0
NOASSERTION
2019-06-02T14:15:18
2019-06-02T14:15:18
null
UTF-8
Python
false
false
2,899
py
#!/usr/bin/env python # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2019-11-26 10:08:52 +0000 (Tue, 26 Nov 2019) # # https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn # and ...
[ "harisekhon@gmail.com" ]
harisekhon@gmail.com
3f0fd941c0800c2b2b894fd6b9e47ebbab48945e
7db743838326f39497c766a0156647e99dab116e
/manage.py
a76f18702d441b16f6e901f62ef5f437cc78a0b8
[]
no_license
mailchimp-mark/mm-mailchimp-code-sample
e721160b36b5b70627b2b4fed676686fdb03b90e
553fe843d947eafd4b71d4c8ed51b65d4f9bb53c
refs/heads/master
2020-03-26T20:43:37.988188
2018-08-19T22:44:44
2018-08-20T17:14:56
145,341,960
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pokemon_proj.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that...
[ "mmtz@protonmail.com" ]
mmtz@protonmail.com
1c5815de7339c8d47d410f4e24898c0b84c9975a
cd250e98a8c4d1d54dcdc301d30a1243f2b3fbaf
/orders/models.py
6efab805254d1078ae8e7e566948e5e20188c546
[]
no_license
Loreeh/webdevproj
95d54d66518c2459e62acaefc6b377c847bafd04
b08252b497a997beebad91caf6ab8adfa2a11440
refs/heads/master
2021-07-12T17:43:51.244988
2017-10-16T11:48:24
2017-10-16T11:48:24
107,119,148
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
from django.db import models # Create your models here. class Product(models.Model): product_name = models.CharField(max_length=200) product_details = models.TextField() price = models.IntegerField() active = models.IntegerField(default='1') product_manu = models.CharField(max_length=100) category = models.CharF...
[ "lauriejohn12345@gmail.com" ]
lauriejohn12345@gmail.com
69bea90d36986d5bc09258b3f1e370efa7359471
eb40dce4039d528b9cd06dbeda75da09d09d7fc5
/need_install/Django-1.8.17/tests/model_formsets/models.py
e30c063bc9f480ec655ad816b6909f771a24965f
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MulticsYin/MulticsSH
39b62189446787c7f0f037b1640c9c780bd1dddd
5837a0bff0e7da0e8535e4e0b31ef6baf24274b4
refs/heads/master
2021-08-28T07:53:51.759679
2017-12-11T15:31:03
2017-12-11T15:31:03
82,428,902
4
2
null
null
null
null
UTF-8
Python
false
false
7,607
py
from __future__ import unicode_literals import datetime import uuid from django.db import models from django.utils import six from django.utils.encoding import python_2_unicode_compatible @python_2_unicode_compatible class Author(models.Model): name = models.CharField(max_length=100) class Meta: or...
[ "multics_luo@163.com" ]
multics_luo@163.com
762453d7afec32523b6ddfeb1ea7ef306ba9c1dc
bb2616a954e1cafe5875abd39a6af81cdeb019f4
/bisectlib/bisect.py
59888e4b292aef1a46b1e6bd44676e72019aa3d7
[ "MIT" ]
permissive
llewelld/bisect
1780a2b367b96de4485b52e3a3fadfd915fc3ee7
cc918b5cc66dccdcef91257e5b0ea96076770db4
refs/heads/master
2023-01-06T21:41:29.376546
2022-12-25T14:11:11
2022-12-25T14:11:11
242,596,182
0
0
null
null
null
null
UTF-8
Python
false
false
8,280
py
import json import math from bisectlib.regfunc import RegFunc ################################################ # Weight classes class Distance: """ Distance calculation base class """ start = 0 base = 0 def __init__(self): pass def compile_weights(self, summary, commits): pass def compile_sub_weights(...
[ "david@flypig.co.uk" ]
david@flypig.co.uk
1005778d6a449087a6291c8200c7a2bc6d744ef1
96d16c014d934ef0df85c01cee3ec70dcf4fad43
/Gerador_de_grafos.py
79fce886fb2171a8ed080165027df29e4aac9282
[]
no_license
educastro/Optimal_Communication_Spanning_Tree
62459d61387d5bbccfd36a6b61c78f319ef929fc
6a3613e58ecdccbe841a43116d45742ab9830fcd
refs/heads/main
2023-08-08T17:15:51.961316
2021-09-11T12:05:04
2021-09-11T12:05:04
405,279,004
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
''' Código desenvolvido enquanto implementação do artigo "O problema da árvore de abrangência de comunicação ideal (Optimum Communication Spanning Tree) e suas diferentes soluções" submetido no WPOS 2021. Todos os autores possuem vínculo com o Programa de Pós-Graduação em Computação Aplicada da Universidade de Brasília...
[ "eduardocastro91@gmail.com" ]
eduardocastro91@gmail.com
32f35eeb02312d87e913896cf752226793b65daf
c3fb5e09330454322b622b2a758cae94dbfca386
/nn/epinn3-1x.py
3df5d66602e234142401e918fea33f97ff0f4682
[]
no_license
senen2/epilepsia
b0cfb1dac07df160eaf780c02612f97d11f2efb7
bdf756c43397fece04f25027c98a42d30385444b
refs/heads/master
2021-01-18T22:23:15.349219
2016-12-04T18:01:16
2016-12-04T18:01:16
72,490,135
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
''' Created on Oct 21, 2016 @author: botpi ''' import numpy as np import scipy.io from apiepi import * from apiepi import sigmoid print "begin" group = "resp_1-1" resp = scipy.io.loadmat(group) group = "train_1" images, labels = read_images(group) # print resp["W"], resp["b"] # print resp["W"].shape, resp["b"].shape...
[ "senenbotello@gmail.com" ]
senenbotello@gmail.com
df11949dff8ce9df435455389573853a0327d934
78efa54b2b253f99ea7e073f783e6121c20cdb52
/Codechef/Chef and Feedback.py
9a29d4b277de8cde69b2bfbdd41880f1d3c4b005
[]
no_license
NishchaySharma/Competitve-Programming
32a93581ab17f05d20129471f7450f34ec68cc53
1ec44324d64c116098eb0beb74baac7f1c3395bb
refs/heads/master
2020-04-08T04:02:46.599398
2020-01-01T15:51:39
2020-01-01T15:51:39
159,000,529
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
t=int(input()) for test in range(t): s=input() if '101' in s or '010' in s: print('Good') else: print('Bad')
[ "noreply@github.com" ]
noreply@github.com
11ad975086b70453ff1ac5a621d60080f6d30c2d
c444674bec908358292dd2f6474f8955bf2c048c
/Exercise-Sheet-09/system.py
706a251709fde18cdfe525cf82103ef1c80c9c36
[ "MIT" ]
permissive
mgarbellini/Computational-Physics-Material-Science
ab111743f59d1468e0df0b1f163f918dc20db66e
08f456e94cc27dd2a9bf47ae9c793c0b7342b4bc
refs/heads/main
2023-06-16T02:42:54.527465
2021-07-17T11:47:39
2021-07-17T11:47:39
362,033,405
1
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
#!/usr/bin/env python3 """ @author: M. Garbellini @email: matteo.garbellini@studenti.unimi.it * SYSTEM MODULE * Contains the system variables Latest update: June 2nd 2021 """ import numpy as np """System variables""" ensemble = None # type of ensemble ("microcanonical, NVT, NHT") dim = None # dimension of...
[ "matteo.garbellini@studenti.unimi.it" ]
matteo.garbellini@studenti.unimi.it
4a0132865252b185b84f72cb39a27e1abd0c2bf0
9f79c4f9a8a9154fc3dc9202ab8ed2547a722b5f
/PracticeExamMid/National court.py
16010f552a3c11d598731928b528a6ee886ce44d
[]
no_license
grigor-stoyanov/PythonFundamentals
31b6da00bd8294e8e802174dca4e62b231134090
5ae5f1f1b9ca9500d10e95318a731d3b29950a30
refs/heads/main
2023-02-11T12:17:19.010596
2021-01-14T22:14:54
2021-01-14T22:14:54
321,658,096
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
first_employee = int(input()) second_employee = int(input()) third_employee = int(input()) clients = int(input()) hours = 0 while clients > 0: hours += 1 if not hours % 4 == 0: clients_per_hour = first_employee+second_employee+third_employee clients -= clients_per_hour print(f'Time needed: {hour...
[ "76039296+codelocks7@users.noreply.github.com" ]
76039296+codelocks7@users.noreply.github.com
cd3f6f8b649183f225de6e3ecf5a6435529a2fde
a8aa8ecebda6c3bad4a27854d29371312cb152f8
/src/ggrc/utils/structures.py
83478b4e5dd5ae179fde1ee430cdd21795a76b7e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
xferra/ggrc-core
ef1f7016c717a391d927c128b2058e1fee6e2929
b82333664db3978d85109f2d968239bd1260ee85
refs/heads/develop
2023-04-06T23:59:38.917995
2016-07-26T14:13:38
2016-07-26T14:13:38
64,231,198
1
1
Apache-2.0
2023-04-03T23:37:20
2016-07-26T15:10:29
Python
UTF-8
Python
false
false
3,177
py
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """Collection if ggrc specific structures.""" import collections class CaseInsensitiveDict(collections.MutableMapping): """Case insensitive default dict implementation. This is a modification of requ...
[ "zidarsk8@gmail.com" ]
zidarsk8@gmail.com
70d68dd26c3e7a03a1b1caeb48cd6fb07a5b4e81
907a9071997e578e1b528262790f81c8b8b6ba98
/widgets/run_remote_command_sink.py
96bf59706c9804c3ca4b5d3f1448b1392d6104b2
[]
no_license
aseering/pipeworks
23fdc8b6b300d29e8d52c6ab7ad4526b490a8c94
31016845d667ce384ca39ad91c53c0577bc4f1f8
refs/heads/master
2021-01-13T15:16:50.810313
2016-12-22T05:15:40
2016-12-22T05:15:40
76,226,288
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
from widget_types import DataPipe from urlparse import urlparse, parse_qs from threading import Thread import paramiko DEFAULT_BLOCK_SZ = 4 * 1024 * 1024 class RunRemoteCommandSink(DataPipe): """ Read data in from stdin """ @classmethod def supportedProtocols(cls): return ...
[ "adam@seering.org" ]
adam@seering.org
a7705095e841a93d923b059b889d953a870089af
227c26f39fb898834af6b16912186a4ca9c6331d
/web/tests/test.py
1c88121faee16bdef16d8199ab4f3877b87191f0
[]
no_license
MarcosNBJ/CoronaNews
14558bd4223a431921105c7560d21920dffa3595
3c3d0a108da55fad018e348bb2d29a4024507ccd
refs/heads/master
2023-01-10T16:17:31.212797
2020-11-13T22:50:19
2020-11-15T07:47:37
257,811,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
from app import app import unittest import re class HomeEndpointTests(unittest.TestCase): def setUp(self): ''' Setting up response to be home-page's response ''' CoronaNewsApp = app.test_client() self.response = CoronaNewsApp.get('/') def test_get(self): ''' ...
[ "marcosnery.comp@gmail.com" ]
marcosnery.comp@gmail.com
73b30fa6fa0f6df8bb02c9afbdac48872b446ba9
236932e8a722e2c6b2d99cb788629b6fffcddf6f
/app/api/repository/admin.py
00af0ac2b6407fc1a3ae19add5bfc9dd8e08bf52
[ "MIT" ]
permissive
Mohammed785/Emergency-Numbers-fastapi
44c9c01fbf428bebc8068ec6059b76f5dd342739
345a6a77eea36e5dcac34b103ddfe0f0a7d17bb6
refs/heads/main
2023-06-25T19:49:43.264881
2021-07-28T14:43:11
2021-07-28T14:43:11
390,382,934
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
from sqlalchemy.orm import Session from api import schemas,models from fastapi import HTTPException,status from api.hashing import Hash def create_admin(request:schemas.Admin,db:Session): new_admin = models.Admin(name=request.name,email=request.email,password=Hash.bcrypt(request.password)) db.add(ne...
[ "noreply@github.com" ]
noreply@github.com
c4f55290ac050d4d7702f82296d31175d355205c
c9167b470a1b88b13dd5b7816d1c4226b46830a0
/src/data/decompress.py
ef7d1d04fb95faaf349d5ebdfc740120c233d862
[ "MIT" ]
permissive
aldopareja/instacart_kaggle
35e40652baf64b966dccdc9388cab35e32b0a3bb
5d8c3c938cb0f1feabca60ac3c566147c2e5073c
refs/heads/master
2021-01-21T18:34:06.006369
2017-05-23T09:28:13
2017-05-23T09:28:13
92,060,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
import argparse, glob, os import warnings as wr import zipfile as zp def main(inputDir,outputDir): inputFiles = glob.glob(os.path.join(inputDir,'*.zip')) if not os.path.exists(outputDir): os.makedirs(outputDir) else: wr.warn('the output directory already exists\n directory will be cleaned')...
[ "ubuntu@instacart.c.poetic-torch-168413.internal" ]
ubuntu@instacart.c.poetic-torch-168413.internal
8d58a097e187616f13d699d1b11dc320226dbd01
fb39c779c7f05857865f57247b8a89bc81839154
/tests/unit/test_model.py
60bb4a7e443cdb30793938883e2e521a8f8437c8
[ "BSD-3-Clause" ]
permissive
daoo/autodesk
41339d596fb94ead1ed3bcff9b81c131a3d4e7dd
0d7780d0cfff366ba51f222bec2ef41d24f3b776
refs/heads/master
2023-06-10T00:28:53.282480
2023-05-30T08:21:02
2023-05-30T08:21:02
87,717,309
13
3
null
null
null
null
UTF-8
Python
false
false
5,534
py
from autodesk.model import Model from autodesk.sqlitedatastore import SqliteDataStore from autodesk.states import UP, DOWN, ACTIVE, INACTIVE from pandas import Timestamp, Timedelta from pandas.testing import assert_frame_equal from tests.stubdatastore import StubDataStore import pandas as pd import pytest def make_sp...
[ "oom.daniel@gmail.com" ]
oom.daniel@gmail.com
0f8f22afe79ca0f7ef6844d4058734115cf9216e
b79547dd150df2fd77a7b9a323623cd6a42b8e25
/djpsilobus/bin/login_post.py
87ffe40f7fe459651cd00cb51621e5d50ee66b23
[ "MIT" ]
permissive
carthage-college/django-djpsilobus
030d704d7345cdcb993f378c644fdfacb1fa5fff
386bc17a845247be3049f98f4d38ff49cb54d60c
refs/heads/master
2023-08-06T17:37:25.021935
2023-07-26T17:53:28
2023-07-26T17:53:28
62,468,994
2
0
MIT
2023-02-24T18:19:35
2016-07-02T20:41:30
Python
UTF-8
Python
false
false
456
py
from django.conf import settings import json import requests url = "https://dspace.carthage.edu/rest/login" email = settings.DSPACE_EMAIL password = settings.DSPACE_PASSWORD request_dict = { "email":"{}".format(email), "password":"{}".format(password) } headers = {'content-type': 'application/json'} response =...
[ "plungerman@gmail.com" ]
plungerman@gmail.com
7be461064c746befdfb6cb0df87450ee4a003cea
a134172173dbc976004729b38ea8d7c081bf374d
/tests/components/arcam_fmj/test_device_trigger.py
0f2cfaf28932ce3a32878f8e12243142ca282404
[ "Apache-2.0" ]
permissive
uniosmarthome/home-assistant-core
910cc44f53381222ffe5543b43940875046bc738
dd56b1c17606fff40968940a27db6f64bb71abec
refs/heads/dev
2023-04-13T11:20:24.592193
2021-04-11T07:30:08
2021-04-11T07:30:08
295,188,670
1
0
Apache-2.0
2021-04-11T07:35:08
2020-09-13T16:14:03
Python
UTF-8
Python
false
false
2,833
py
"""The tests for Arcam FMJ Receiver control device triggers.""" import pytest from homeassistant.components.arcam_fmj.const import DOMAIN import homeassistant.components.automation as automation from homeassistant.setup import async_setup_component from tests.common import ( MockConfigEntry, assert_lists_same...
[ "noreply@github.com" ]
noreply@github.com
566568612fe98c4ea477080279b41dc69ea8f43f
b2c7e3c42474d4285494c4933d11e5dbe419852b
/scrapy_pyppeteer_cloud_example/spiders/books.py
734374de4726e450f3495bbc878d2b87d1b142c1
[]
no_license
elacuesta/scrapy-pyppeteer-cloud-example
274b49f77eb9ef23a0b98baae9dbc33499adab18
b61e125369a3a19e5e819f2328616337e5280069
refs/heads/master
2022-09-08T17:33:51.367722
2020-05-28T23:12:45
2020-05-28T23:12:45
257,968,267
0
1
null
null
null
null
UTF-8
Python
false
false
945
py
import logging from scrapy import Spider, Request logging.getLogger("pyppeteer").setLevel(logging.INFO) logging.getLogger("websockets").setLevel(logging.INFO) class BooksSpider(Spider): name = "books" pyppeteer = False def start_requests(self): yield Request("http://books.toscrape.com", meta=...
[ "eugenio.lacuesta@gmail.com" ]
eugenio.lacuesta@gmail.com
8919b63ee7591ecd3059914bcfe5811ad08e1727
46be8164d8c1b5649d893452b783fe61c1c674a8
/materialize-css-django-material-admin/step1/djmaterial/djmaterial/urls.py
f490e948e44253b5f9cc7248ff6a53f1b6218590
[ "MIT" ]
permissive
akashmurai/blog-code-examples
751f5c2d68a7dcf29127ddefa2f508b3470bd93f
a6afcb874e88086686071aa1b2a47548aed5a2b0
refs/heads/master
2023-04-16T14:14:32.573829
2021-04-23T11:46:47
2021-04-23T11:46:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
"""djmaterial URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "matthew.makai@gmail.com" ]
matthew.makai@gmail.com
1173a142111504e53493c4bd0165aebe53db3e8f
d266b3e57a31970b2b7a04de9682c88466b92e3c
/server.py
c09fb66ab0585ab1dccbd837758e6bbf26e11e52
[ "MIT" ]
permissive
wangyidong3/stream_server
617f6a99fe6d73827ebe734570119cdd70c674c7
08626af790b8c5c2067e849ba66efb848c72ab3e
refs/heads/master
2021-03-13T23:27:20.820489
2020-03-16T22:27:55
2020-03-16T22:27:55
246,720,521
0
0
MIT
2020-03-15T02:02:40
2020-03-12T01:56:08
Python
UTF-8
Python
false
false
2,036
py
import socket from threading import Thread import base64 import numpy as np import cv2 import pytest # server SERVER_IP = "0.0.0.0" SERVER_PORT = 953 MAX_NUM_CONNECTIONS = 20 # image IMAGE_HEIGHT = 480 IMAGE_WIDTH = 640 COLOR_PIXEL = 3 # RGB class ConnectionPool(Thread): def __init__(self, ip_, port_, conn_): ...
[ "wangyidong3@163.com" ]
wangyidong3@163.com
ffd63545b4349859bd33d3aa16a8067b635fba86
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/421/usersdata/339/85926/submittedfiles/tomadas.py
58100134123c7a8720056a903605fd365548af5d
[]
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
265
py
# -*- coding: utf-8 -*- import math #COMECE SEU CODIGO AQUI T1= int(input('Entrada da régua1: ')) T2= int(input('Entrada da régua2: ')) T3= int(input('Entrada da régua3: ')) T4= int(input('Entrada da régua4: ')) Tn= (T1-1)+(T2-1)+(T3-1)+T4 print (Tn)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ecaf7de961e10b10ff2ae37afcc53e369d519f69
2f378e9425dcc0d4c6f57497ea4e866311499f2f
/luceole_coop_db/models/share.py
d0d73ffb51f2f60e8e546e5b41737ffe5e982909
[]
no_license
tcarion/luceole_git
0adc3b1d7934726811c96d2544cba5222aa5eb71
cc2af9cbe52cb66fd5d2375062ada6094f280943
refs/heads/master
2020-03-27T09:23:01.554506
2019-05-03T17:39:26
2019-05-03T17:39:26
146,336,180
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
from sqlalchemy import Column, String, Float from model import Base import uuid class Share(Base): __tablename__ = "share" share_id = Column(String(50), primary_key=True) share_name = Column(String(50), nullable=False) share_value = Column(Float, nullable=False) def __init__(self, share_id=None, ...
[ "samuelcourtois@MacBook-Pro-de-Samuel.local" ]
samuelcourtois@MacBook-Pro-de-Samuel.local
27d432abd0604bcf61d61a54c35a8adcd68edc9c
83e85c99ebe9c55f88ea5c5232f0c299ba051542
/chap12.1.py
2c2388a4467f036e9b40d47c72a0489b95e98082
[]
no_license
e-allen/python_files
c69bc5d006cc972ad7a3d1afeb54342a089f7056
c5ca5d64e6ea57da5925bb5a9fd6432db205594b
refs/heads/master
2020-03-30T17:18:03.548301
2018-10-03T17:24:07
2018-10-03T17:24:07
151,449,438
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
class Apple(): def __init__(self, w, c, t, s): self.weight = w self.color = c self.taste = t self.stem = s print("Created!") ap1 = Apple(4, "dark red", "sweet", "no stem") ap2 = Apple(10, "yellow", "sweet", "stem") ap3 = Apple(5, "green", "sour", "stem") ap4 = Apple(8, "red...
[ "erin@Erins-MacBook-Pro.local" ]
erin@Erins-MacBook-Pro.local
b804240baaa864ffd6fa64fef76ebb4960996289
40bfe140480d42750aa4a28fa07c2d25c6c51891
/apps/profile_app/tests/test_views.py
ccbc3839575c4f04bdcf8dd3b20a1280ac20414c
[]
no_license
kuzentio/mitra
bed5750a1f34bbfeab48aaaa1ca6907b0a04abd8
f1da84ca5657c8741141cff145487fa6e29b5cfe
refs/heads/master
2023-04-11T07:16:11.978486
2019-03-19T16:22:57
2019-03-19T16:22:57
135,567,211
0
1
null
2021-03-01T15:49:57
2018-05-31T10:09:35
Python
UTF-8
Python
false
false
745
py
from django.test import TestCase, Client from django.urls import reverse from apps.profile_app.factories import AccountFactory, UserFactory from apps.profile_app.models import Account client = Client() class TestStrategyListView(TestCase): def setUp(self): self.user = UserFactory() self.user.set...
[ "0585ec@gmail.com" ]
0585ec@gmail.com
b7b57b92183ffd683c12900630b9833c1e6799d2
552d32dcc039b610f39f5b34f8c470f68045ef1f
/main.py
175b95a3005aa834c7a0667ed3eb9b06b6199434
[]
no_license
mitchgu/3DLatticeUtility
c4f127a82337c1ccc74fb0e92ac2776fa5eddcbd
f6d9b5f8760d8c0c029d99192d66a1a7b4b47e5d
refs/heads/master
2020-05-18T09:42:19.752173
2015-06-19T19:16:51
2015-06-19T19:16:51
37,342,286
1
0
null
null
null
null
UTF-8
Python
false
false
1,944
py
import lattice as lt from lattice_renderer import LatticeRenderer from toolpathing import Toolpath import sys, cProfile, math def main(): if len(sys.argv) != 3: sys.exit("Please supply two arguments: the path to the exported mesh nodes and the path to the exported stresses.") node_file_path = sys.argv[1] str...
[ "mitchgu@mitchgu.com" ]
mitchgu@mitchgu.com
4d2cf215d2757bcd45ce921c6ca8dddf36b51ee2
563a2232fd932679853902aacb5f520513d33677
/main.py
7e90c7caa5cca3f5601572262c89f6fcdf1e4040
[]
no_license
MRNP/DeepXS
2b6427df3565d9138434ce31c690304408ff9446
cbb3919c44d56c174357ec430d67c9922700755d
refs/heads/master
2020-04-16T13:47:59.614068
2018-12-12T17:13:16
2018-12-12T17:13:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,931
py
import argparse import os, sys from preprocessing import preprocess_c1c1, preprocess_n2n2, preprocess_n2c1p, preprocess_n2c1m from AI_builder import build_c1c1_AI, build_n2n2_AI, build_n2c1p_AI, build_n2c1m_AI from predictors import predict_c1c1, predict_n2n2, predict_n2c1p, predict_n2c1m from reader import read_i...
[ "noreply@github.com" ]
noreply@github.com
7db380b89b0304b2f834f9eaf4024f367c492bdb
3f4eda28a7d390eeb6f8196dfba50e8f77f26431
/bot/bot.py
84143511b1878b9b51d3ae24196bf4a946d04502
[]
no_license
SushiPython/comment-leaderboards
d8eb9c2ffd9449e18016db0c9e1792f7e86bd901
4499c5560bdb54aa788c037449a50ad9dcc0f4bd
refs/heads/main
2023-07-01T05:51:22.180098
2021-08-10T17:07:36
2021-08-10T17:07:36
394,316,866
0
0
null
null
null
null
UTF-8
Python
false
false
3,048
py
from discord.ext import commands import discord import pymongo import datetime # Customizable Values comment_channel_id = database_username = "" database_password = "" bot_token = "" mongodb_url = f"" # End of customizable values c = pymongo.MongoClient(mongodb_url) db = c.main.entries prefix = "?" bot = command...
[ "noreply@github.com" ]
noreply@github.com
db2901f57c94c05aba568bf3a16e2a6241f83853
1db08ed38f3ad5c5357dbad66fed955a74c8434d
/general/management/commands/nobr_bot.py
a2950640bb30145ca983116aefc6187ed0e15da4
[]
no_license
fizzy123/nobr.me
347980d70fd6284970dc51ab3c5020003bd6d94d
b7acd4c39390dc6f497bc35b53d547ad04fe275c
refs/heads/master
2020-06-04T14:10:25.236569
2015-12-11T19:31:22
2015-12-11T19:31:22
28,760,518
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from django.core.management.base import BaseCommand, CommandError from general.functions import nobr_bot class Command(BaseCommand): help = 'tweet breetz' def handle(self, *args, **options): nobr_bot()
[ "nobr@nobr.me" ]
nobr@nobr.me
06be0608c54ee8e15f03e8344a98575d0bf9f88d
be918598badb564aa134990276a06c3524317e59
/chaco/tests/serializable_test_case.py
e364f1a1f87d65b74a7ac910e561ef1fd1abdbce
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
janvonrickenbach/Chaco_wxPhoenix_py3
3ac11aaa5a452afa526edaf2c68c166709b94b90
21a10cfd81100f28e3fbc273357ac45642519f33
refs/heads/master
2020-08-03T20:03:55.983524
2019-12-18T10:47:24
2019-12-18T10:47:24
211,870,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
from pickle import loads, dumps import unittest # pickling child classes doesn't work well in the unittest framework unless # the classes to be pickled are in a different file from .serializable_base import Circle, Poly class SimpleSerializationTestCase(unittest.TestCase): def compare_traits(self, a, b,...
[ "braidedlogix@users.noreply.github.com" ]
braidedlogix@users.noreply.github.com
32cc59bc869726623d8967e5572d3c7249cba2cb
30a4495fa1ebd7c61de1f8850f47b3b0e9f4c0b2
/Majfunction.py
cb13a603248149858a0839f020567aa67fe387ca
[]
no_license
artenicus/my-first-base
6e66955135a311a8b61cb43ed744012cb4573b01
6d9f88a8e02383cc94f7d34384cd364751ccaeb9
refs/heads/master
2022-11-25T03:27:59.494769
2020-07-23T06:57:30
2020-07-23T06:57:30
281,055,395
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
def siemanko(name): print('Siema bublu') print('co tam słychać w państwie duńskim?') metalowcy = ['asterix', 'panoramix'] for name in metalowcy: print('znowu ty? ') print('ić stont '+ name + "!") siemanko('asterix') for i in range(1, 9): print(i)
[ "bartosz.chmiel@saint-gobain.com" ]
bartosz.chmiel@saint-gobain.com
4a8f297e04d532d82920bb3b2be932db11d69571
44edea4cde086d530e59f52e63c26b608fbef3bc
/control_structures_exercises.py
d1402da954f9c472a28136e9a21c54a383ad8a23
[]
no_license
Jason-Tellez/python-exercises
7bb17987ae16347502c2e6ec9b75d9b626858822
9e5f8db4948ac74675b37e088c2b4a6db5a344ff
refs/heads/master
2023-06-19T04:29:00.356841
2021-07-20T20:35:45
2021-07-20T20:35:45
384,188,442
0
0
null
null
null
null
UTF-8
Python
false
false
9,150
py
#1. Conditional Basics #a. prompt the user for a day of the week, print out whether the day is Monday or not user_input = input("What day is today?") if user_input == "Monday": print("I hate Mondays!") else: print('Have a good day!') #b. prompt the user for a day of the week, print out whether the day is a wee...
[ "jason.michael.tellez@gmail.com" ]
jason.michael.tellez@gmail.com
98999f24a74028e629158efd13cd6297f5477e1d
c4b9ae6636a09229feaeac94eb35e159cfe96c4d
/env/style_volume.py
9ea09d97fe4a45e8ea306be791b49caf0d010405
[]
no_license
milkpku/spacetimeBounds
b1dcd4415967ebb7d36151bfabd69aa69e52e72f
9ca9b64adb719e0fe9da8e1d35592e6a0fbcbac7
refs/heads/master
2023-04-30T11:46:49.420755
2021-05-12T09:18:13
2021-05-12T09:18:13
359,383,266
20
2
null
null
null
null
UTF-8
Python
false
false
1,493
py
from env import SpacetimeBoundsEnv import numpy as np from Kinematic import KinematicCore # 1 root(id 0) NONE # 2 chest(id 1) SPHERICAL # 3 neck(id 2) SPHERICAL # 4 right_hip(id 3) SPHERICAL # 5 right_knee(id 4) REVOLUTE # 6 right_ankle(id 5) SPHERICAL # 7 right_shoulder(id 6) SPHERICAL # 8 right_elbow(id 7) REVOLUTE ...
[ "likem@DESKTOP-MRGKH2L.localdomain" ]
likem@DESKTOP-MRGKH2L.localdomain
45b5fd423c306ec58bb3dd03f3941100ccfb5f82
2c54d0baba0258f5c409e010efe4a32c0a11c189
/venv/Scripts/easy_install-script.py
1c6cf3041f690b5fc6ee9814cc3ab605513402fa
[]
no_license
Rofiatulkhoiriyah/Project-Latihan-Python
dc1c1c6e91ed0f0ebbe86eb62aff461fba1f6ae1
254b0ba5eaec2c934d9b9921c8c88974304302e3
refs/heads/master
2020-12-28T17:58:27.205824
2020-02-05T11:11:04
2020-02-05T11:11:04
238,431,106
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
#!F:\rofi\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) s...
[ "khoiriyahdemak03@gmail.com" ]
khoiriyahdemak03@gmail.com
fcdca95a4666d8a74bf02b25831e227dde08b7bb
cad338c91a1fff7d84e4e51a37b6a3bde7c96371
/dcmrtstruct2nii/adapters/output/niioutputadapter.py
a56379ebfec6bd29e6f6639a198dde82c5088487
[ "Apache-2.0" ]
permissive
surajpaib/dcmrtstruct2nii
c603388258264a81aa0cdb7ed97984647ad5a627
e59458290398b99ab9cdbbf81f7c30e97c6e0402
refs/heads/master
2020-11-30T15:18:06.935094
2019-12-27T16:28:10
2019-12-27T16:28:10
230,428,153
0
0
Apache-2.0
2019-12-27T10:59:38
2019-12-27T10:59:37
null
UTF-8
Python
false
false
357
py
from dcmrtstruct2nii.adapters.output.abstractoutputadapter import AbstractOutputAdapter import SimpleITK as sitk class NiiOutputAdapter(AbstractOutputAdapter): def write(self, image, output_path, gzip): if gzip: sitk.WriteImage(image, output_path + '.nii.gz') else: sitk.Wri...
[ "t.phil@erasmusmc.nl" ]
t.phil@erasmusmc.nl
f6f46f6bbba0633f0973a126cae7ae5d48d567a8
fa18fb8de549d4a303d5bad5af9c0fbcb479d546
/zero_shot/preprocess.py
28146fd17afa4adc13372f720ede708f40db0d13
[]
no_license
jirvin16/DLBootCamp
8ee154e8d065fa0dfbf758effec80fcf2cae66cc
bd02bfee7e08aba14c34c3def6b561c9637e1004
refs/heads/master
2021-01-11T04:17:13.955555
2016-12-16T02:37:38
2016-12-16T02:37:38
71,189,177
3
0
null
null
null
null
UTF-8
Python
false
false
1,895
py
from __future__ import division from __future__ import print_function import string import re import os from unicodedata import category from unidecode import unidecode def preprocess(infile_name, outfile_name, target_language=None): i = 0 lines = [] with open(infile_name) as infile: for line in infile: line...
[ "jirvin@umail.ucsb.edu" ]
jirvin@umail.ucsb.edu
b636a95f9750de5d956bc9dd6ad4e939c62ff662
0a0e787f6041c46a57de3a8aaff63a8044f0edbd
/model_funcs.py
7e1942229623a54be2b68307497f1909799d80e1
[ "MIT" ]
permissive
nick-kopy/Modeling-Electric-Rental-Bike-Lock-Ups
169ce1847290847d31520e492a7a5295c3de3b33
d6065c0e586e6e72c1b972f161bc370af3f7dec1
refs/heads/main
2023-06-24T23:16:59.955391
2021-07-22T21:26:51
2021-07-22T21:26:51
352,773,608
0
0
null
null
null
null
UTF-8
Python
false
false
10,933
py
# This file contains all the necessary functions for model.ipynb to run # It mostly collects, cleans, and presents data import pandas as pd import matplotlib.pyplot as plt import numpy as np from geopy.distance import geodesic import statsmodels.api as sm from statsmodels.stats.outliers_influence import variance_infl...
[ "nick.kopy@gmail.com" ]
nick.kopy@gmail.com
81f04dc9ed83f70169a1af6953c7c4c5a7a0aa80
a0e3266fb10b9c4a94ee817763d7e55520ceb8f2
/microservices/svc/divider/handler/__init__.py
a61333d61ea10d294469a67f5ebc749f82ca6f2d
[ "MIT" ]
permissive
sato-mh/distributed-calculator
d90cc15c9fb37d887ad0376e56fbc9de0323fe53
8d044084a0f70effe5264f3a726962e3ac8da7f5
refs/heads/master
2023-07-25T00:54:56.207918
2021-09-06T06:25:50
2021-09-06T06:25:50
402,721,643
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
from .divider import Divider # noqa: F401
[ "satomh37@gmail.com" ]
satomh37@gmail.com
cda7ba7a617b163349b84eaacc3643c872f9ecb4
cc10b80f143684270a7f4db7c73ada125309e3fa
/Clone_Graph_133.py
a30b91f3fded5f475207df06119519d02a45d648
[]
no_license
jay6413682/Leetcode
bfe8bf15183aa824fb96d9ff5a1ead5b7b7fa4d9
3ea03cd8b1fa507553ebee4fd765c4cc4b5814b6
refs/heads/master
2023-03-04T19:43:31.477643
2023-03-02T06:34:50
2023-03-02T06:34:50
30,943,538
0
0
null
null
null
null
UTF-8
Python
false
false
3,067
py
# Definition for a Node. # graph # 图论 class Node: def __init__(self, val = 0, neighbors = None): self.val = val self.neighbors = neighbors if neighbors is not None else [] class Solution: """ Depth first search / dfs - https://leetcode-cn.com/problems/clone-graph/solution/ke-long-tu-by-leetc...
[ "private@email.address" ]
private@email.address
1466c5381a233e72613b78028a7e34537d4795e1
b0ba7f0810460661846ee179c3e1ee24e9ba19c2
/dailyfresh/dailyfresh/urls.py
b1707d910e8ffba47d96470b9544fd25a73e7e54
[]
no_license
kaoven/dailyfresh
6c47e384d035612be8f309861248e7165cf6a6cb
0b9425f573ea030bbd3505ca6a75ad40bb996d83
refs/heads/master
2021-05-09T21:38:54.964315
2018-01-24T07:57:31
2018-01-24T07:57:31
118,731,559
0
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
"""dailyfresh URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "940334112@qq.com" ]
940334112@qq.com
3ce171e90e7e5da03b709cdd437fabc15e85d450
0d8486c1d55c40bebea7c5428930f18165d2d0e9
/tests/wasp1/AllAnswerSets/grounding_ordering_7.test.py
8e6844bc87c31d8550bcba0188c68ca865f9af30
[ "Apache-2.0" ]
permissive
bernardocuteri/wasp
6f81bf6aa8fb273c91bbf68ecce4ecb195a55953
05c8f961776dbdbf7afbf905ee00fc262eba51ad
refs/heads/master
2021-06-08T11:58:25.080818
2020-10-05T16:57:37
2020-10-05T16:57:37
124,245,808
0
0
Apache-2.0
2018-03-07T14:13:16
2018-03-07T14:13:16
null
UTF-8
Python
false
false
75
py
input = """ #maxint=0. f(Z):- Z=Y+0, #int(Y). """ output = """ {f(0)} """
[ "mario@alviano.net" ]
mario@alviano.net
bc986847479e746b487e2e67ecbc112c6ac46db4
eb446fc63e6cb700059a9b388b6e48556d46d892
/assignment1/cs231n/classifiers/k_nearest_neighbor.py
80143906f2cad87ed3c5c7570bc06dcf7b4af353
[]
no_license
Libardo1/cs231n
575360963ab0bfa376c0d41a0f75204fb6d80628
885c83e049d1bf1b77a60d6f46c496789a2f1d61
refs/heads/master
2020-05-28T02:41:10.986705
2017-01-23T00:02:38
2017-01-23T00:02:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,475
py
import numpy as np class KNearestNeighbor(object): """ a kNN classifier with L2 distance """ def __init__(self): pass def train(self, X, y): """ Train the classifier. For k-nearest neighbors this is just memorizing the training data. Inputs: - X: A numpy array of shape (num_train, D) ...
[ "adambielski90@gmail.com" ]
adambielski90@gmail.com
42668eb3cec8a2407f7d7c9d973957dc2e908b51
3171e9f9c3312e617aad8e984410d931c368f3a4
/web_socket_server/node_modules/ws/build/config.gypi
43bf8528ef09587c308e1e3f21a5b81501c4f91a
[ "MIT" ]
permissive
jjojo/jsmoker
b08e1793a9eef089f95893d563e0253987e6a487
065f7a1aeb303082e0d5f7d771b3764947891446
refs/heads/master
2021-01-25T05:10:20.715928
2017-09-30T10:18:47
2017-09-30T10:18:47
93,518,127
0
0
null
null
null
null
UTF-8
Python
false
false
3,992
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "host_arch": "x64", "icu_data_file": "icudt56l.dat", "icu_da...
[ "jan.jonas.johansson@gmail.com" ]
jan.jonas.johansson@gmail.com
a64c504346d22024d2985e910aa57b068028ce5f
8d00a56744d81106917e0d4805545fcde2234ca5
/.ycm_extra_conf.py
d444cf5a433288a169de9f2b4855b2008f57a1f4
[]
no_license
wqx081/mpr_media
9bd913d60d060d4a886a89ce2824de285445aa24
065e80c340404448f49d16ee56e0d5fdcde361bf
refs/heads/master
2020-04-06T07:10:18.608930
2016-08-30T12:36:56
2016-08-30T12:36:56
65,811,513
0
0
null
null
null
null
UTF-8
Python
false
false
6,401
py
# This file is NOT licensed under the GPLv3, which is the license for the rest # of YouCompleteMe. # # Here's the license text for this file: # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either...
[ "wangqx@mpreader.com" ]
wangqx@mpreader.com
e01a89ed525c71b84c344fd6d92743fe91d4cad2
3e6e8c70187058bef49c2270b66ce32e0acb77e8
/features/steps/register.py
1cd04a2c0e113d8316a4fc8a0cdc132c6d480422
[]
no_license
rizkimp/register_automated_testing
e23e91d893d6faca8baf5a37eb2cbb859e3cd3ae
6ee5dd64c3e64c457a046e3a0b735e2817c9027b
refs/heads/master
2021-05-25T08:34:32.902077
2020-04-07T09:11:10
2020-04-07T09:11:10
253,742,817
1
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
import strgen #library to generate random string from selenium import webdriver from behave import * from locators import * from selenium.webdriver.common.by import By from time import sleep @given(u'prepare to register') def step_impl(context): context.browser.implicitly_wait(30) context.browser.find_element(...
[ "rizkimp@github.com" ]
rizkimp@github.com
01019e95e6592c02760b57f473812ecce1c11855
952b3b0a91de7c561712ac14447ae87143d9e033
/topo_script.py
3e7f04333e46cf043742112be55aea11b8d516ce
[]
no_license
mmarchini/tp-protocolos
ad6f8cbbd280bb80443a4c308f2270ee9772a042
28a92c46b60ff4912fd7369aac8bf53155a31365
refs/heads/master
2020-04-14T02:31:35.297582
2015-06-26T03:27:31
2015-06-26T03:27:31
33,481,593
0
0
null
2015-06-26T03:27:31
2015-04-06T12:47:22
Python
UTF-8
Python
false
false
1,953
py
#!/usr/bin/python from mininet.topo import Topo from mininet.net import Mininet from mininet.util import dumpNodeConnections from mininet.log import setLogLevel class EvalTopo (Topo): "Evaluation Topo for Green Network" def __init__( self ): Topo.__init__( self ) # Adding switches and nodes (one ...
[ "matheusdot@gmail.com" ]
matheusdot@gmail.com
275930b8747f46d9c54103de1c83df74ae486c27
25b914aecd6b0cb49294fdc4f2efcfdf5803cc36
/homeassistant/components/keenetic_ndms2/config_flow.py
a4ef406dd92f6b84fb23b067002c341c4384e263
[ "Apache-2.0" ]
permissive
jason0x43/home-assistant
9114decaa8f7c2f1582f84e79dc06736b402b008
8bf6aba1cf44ee841de063755c935ea78040f399
refs/heads/dev
2023-03-04T01:14:10.257593
2022-01-01T12:11:56
2022-01-01T12:11:56
230,622,861
1
1
Apache-2.0
2023-02-22T06:15:07
2019-12-28T14:45:43
Python
UTF-8
Python
false
false
6,847
py
"""Config flow for Keenetic NDMS2.""" from __future__ import annotations from typing import Any from urllib.parse import urlparse from ndms2_client import Client, ConnectionException, InterfaceInfo, TelnetConnection import voluptuous as vol from homeassistant import config_entries from homeassistant.components impor...
[ "noreply@github.com" ]
noreply@github.com
87d27e5efe16f8ce13fbba0b38498b6201761947
6a88140f644ee79ee76edca2f64d75f4ad6dc772
/New/Function/lrtmmse.py
8c24df455c7519ca2756882fd6795ddc4eaeda6b
[]
no_license
KennethBenicio/BSc-LRT-Filter-Design
bbca2ac3e6c2bb936c40ddbc72fb90d62a6e36bc
0e536beb5a5ef4a3a5cd6896f2de32b16ebb8ddd
refs/heads/master
2022-11-29T23:16:00.201345
2020-08-19T10:37:30
2020-08-19T10:37:30
288,703,387
0
0
null
null
null
null
UTF-8
Python
false
false
2,450
py
import numpy as np import tensoralgebraezequias as tensoralg def lrt_mmse(mt_x, train_seq, ndims, order, rank, eps, num_iter): # Auxiliary function for linear filtering(Eq.11 of the thesis) def mmse_filter(mt_list, rank, order): w = 0 for r in range(rank): columns = [mt_list[d][:, ...
[ "noreply@github.com" ]
noreply@github.com
a7ea21bd915a48e135969d4d8566ce726b7d0f41
84bf86fac2a0e615381a2f3d515d452a3011c2c4
/Scripts/Generate-Benchmark/process.eqtl.py
457c14fc4c03f88c96117b663a2c4d13192e4596
[]
no_license
Jill-Moore/Target-Gene-Prediction
2a126dcfdeab5b8ab5683d7dfc17205afbddbf77
6f4fa6a6d7a4b5b9f8e8dda8e12dcaeb4bfa84c6
refs/heads/master
2022-09-10T13:16:04.522233
2020-05-29T20:11:39
2020-05-29T20:11:39
109,743,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
import sys, subprocess def Create_Bed_Files(tsv, enhancer, tss): bedDict={} bed1=open("bed1","w+") i=1 tsv.next() for line in tsv: line=line.rstrip().split("\t") if "_" in line[0]: x=line[0].split("_") print >> bed1, "chr"+x[0]+"\t"+str(int(x[1])-1)+"\t"+x[1]+"\t"+line[1]....
[ "Jill.Moore@umassmed.edu" ]
Jill.Moore@umassmed.edu
c9536efbd494fd2e1864bdd6903e6cb586bf2af3
961490d5ed1cc536d4d4b88c3da5222c9002dc2f
/BlogFrame/urls.py
47f5293b1c0fef56f64146b5f893e132195a1c29
[]
no_license
RonilM/BlogFrame
4806d1561aacac77cdb9762a46dae3e322c2f8a3
29c0d502dcdb47c58abefbdc9e6240867a4425e1
refs/heads/master
2021-01-11T21:28:24.604064
2017-01-18T18:19:29
2017-01-18T18:19:29
78,790,152
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""BlogFrame 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-b...
[ "ronilvmehta@gmail.com" ]
ronilvmehta@gmail.com
468f4f7c9a28f40036e7b4041c1c203c309f2f74
9d2b8e5228e735bac0d9cd1d4bbdf501d1d57190
/src/loss_and_metrics.py
7756ac13b1b6760a7efc01b383994e7e3adf94a7
[]
no_license
ilijagjorgjiev/project_2_ml
48b698a44be69b9de19748b138ec80ace6d63f21
59ab44fc432a613896a0081ca5ef8b35e9c3bb14
refs/heads/master
2020-04-07T20:46:05.291056
2019-02-04T10:48:03
2019-02-04T10:48:03
158,702,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
from keras import backend as K import tensorflow as tf #We create our own metrics, basically the f1_score so we can see how well are we doing def f1(y_true, y_pred): y_pred = K.round(y_pred) tp = K.sum(K.cast(y_true*y_pred, 'float'), axis=0) tn = K.sum(K.cast((1-y_true)*(1-y_pred), 'float'), axis=0) fp...
[ "ilijagjorgjiev03@gmail.com" ]
ilijagjorgjiev03@gmail.com
e1f4eac830ed128ea91bc98e024ae2d19026c306
5ddfcf026488400e1bc466355ccb84fc172890e1
/sql_queries.py
121607fd59523bcd15efb72a07e2e99282bce464
[]
no_license
ljia-ch/ETL-S3-Redshift
48630662df9be7cc102acb7852ac52fc17fa1752
814847c2416a0822ff9c4881138c295c3cf1e340
refs/heads/main
2023-03-11T08:45:40.319557
2021-02-28T18:27:29
2021-02-28T18:27:29
340,058,250
0
0
null
2021-02-28T18:27:29
2021-02-18T13:27:26
Python
UTF-8
Python
false
false
7,695
py
import configparser # CONFIG config = configparser.ConfigParser() config.read('dwh.cfg') ARN = config.get('IAM_ROLE', 'ARN') LOG_DATA = config.get('S3', 'LOG_DATA') LOG_JSONPATH = config.get('S3', 'LOG_JSONPATH') SONG_DATA = config.get('S3', 'SONG_DATA') # DROP TABLES staging_ev...
[ "linjia.iphy@gmail.com" ]
linjia.iphy@gmail.com
d22269e7a8eb8007ffd135e4db499ad3cadf71b0
dd716703ed930911103a9f5b52ee26ce60db75e8
/project_code/networks/u_net.py
e2972e15fd990878ad9b0b4cc4081750ec04cb51
[]
no_license
scidex/facial-attributes
0c9c2e6cf00b44699cedd7323d21608d1591d0d7
eb2aa4faf1a91987a1a782ca18f65447872822e7
refs/heads/main
2023-05-31T13:08:44.423992
2021-06-16T10:15:32
2021-06-16T10:15:32
373,831,626
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
from project_code.networks.congregated_layers import * import torch.nn as nn # Define a convolutional neural network class UNet(nn.Module): def __init__(self, bilinear): super(UNet, self).__init__() self.n_channels = 3 self.bilinear = bilinear factor = 2 if biline...
[ "nathan@vanbeelen.org" ]
nathan@vanbeelen.org
0e69e140cb4ed7bf46b6255f4fd971eca10eb002
6298a6530ab77e7ddf14891b590a96f12c23fde4
/PC_TCPClientThread.py
869daae80f15c0baad03188e8419cb3f5d0e15f5
[]
no_license
Yadunund/RobotCommunication
c2a81ec397049a87ad5846f48ed651055d6c8972
8f3b8f6ab8adf9ff94c2660ef093f6fd84397b89
refs/heads/master
2020-06-18T23:21:27.773233
2019-07-12T01:59:46
2019-07-12T01:59:46
196,490,391
1
1
null
null
null
null
UTF-8
Python
false
false
1,383
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 27 09:41:37 2019 @author: Yadunund Vijay TCP/IP Client Software capable of receiving messages in a thread """ import numpy as np import socket import time import threading received_string='' send_string='' server_ip='127.0.0.1' server_port=65432 ...
[ "noreply@github.com" ]
noreply@github.com
111f7b6d0b55a216661df79fcdd20ef9c022d60e
f7fbe5badfe5d08e6325cde32668a2f3ec01b865
/project/__init__.py
2ce296bce76942071cbaca0fe6864a116fd2051c
[]
no_license
adbeskine/fidelitybooks
5cc5538201c8a9a6b3b2b379b202b942fc833377
5ac1390827935e79771b8031354c26fc4967ea28
refs/heads/master
2021-01-21T12:47:29.423679
2017-09-01T10:11:16
2017-09-01T10:11:16
102,100,439
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
import sys, os sys.path.append(os.path.abspath(os.path.dirname(__file__) + '../..')) from flask import Flask, Blueprint from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config.from_pyfile('_config.py') db = SQLAlchemy(app) from project.blueprint_base.base import base from project.blueprint_books.boo...
[ "a.d.beskine@outlook.com" ]
a.d.beskine@outlook.com
ecfd84c978eaaa929d3230dc81bd91a74382f0f7
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-roma/huaweicloudsdkroma/v2/model/create_live_data_api_v2_response.py
b0b0ffba285ed2f3dc279a9296f567580865dac3
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
19,605
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateLiveDataApiV2Response(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e125779e5b82afea571e3e761b4bc5562991e0f0
7211c66eea8cf97c3f5cc4308f3bb6f7cf84927a
/HackerRank/graph/snakes_and_ladders.py
fa6ce12d75a5096a52c5291c0cacd584af525b39
[]
no_license
Quinnan-Gill/Algorithms
cc420010f2723117aff936cb43ca8a83a69f6a7b
766061840577af2cf4c072305a2ce125c3472133
refs/heads/master
2020-04-05T00:57:09.614494
2019-07-18T04:20:01
2019-07-18T04:20:01
156,417,320
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
import sys from queue import Queue # Complete the quickestWayUp function below. def quickestWayUp(ladders, snakes): board = list(range(0, 101)) for edge in (ladders + snakes): board[edge[0]] = edge[1] visited = {} queue = Queue() queue.put((1, 0)) visited[1] = [] while queue: ...
[ "quinnan.gill@gmail.com" ]
quinnan.gill@gmail.com
7a7bec1ece07b1d1a242b3681770ec03f229960c
72d7e53e53d0fd60a5dbc6ece5e6c3a19a1cddc8
/Lib/hTools2/dialogs/font/create_spaces.py
638d3d26fe5312df74b656d6aefaadd883fd82cc
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
miguelsousa/hTools2
d814d92f79d5f5bdaab16415626dd1f47692cfa9
eab400677c1b21bb2519a7354a142e167c2b39ba
refs/heads/master
2021-01-15T18:36:09.522992
2013-09-27T13:48:05
2013-09-27T13:48:05
6,453,382
0
0
null
null
null
null
UTF-8
Python
false
false
8,299
py
# [h] a dialog to create space glyphs # debug import hTools2 reload(hTools2) if hTools2.DEBUG: import hTools2.modules.fontutils reload(hTools2.modules.fontutils) import hTools2.modules.encoding reload(hTools2.modules.encoding) # imports from vanilla import * try: from mojo.roboFont import Cu...
[ "gustavo@hipertipo.com" ]
gustavo@hipertipo.com
c7dbfe5b1beecc9575b1b80efcf3806a7f67fc0d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_172/ch14_2020_03_02_13_49_56_090971.py
5694082fc81bea21230118ca87fdde969faa2512
[]
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
180
py
import math #calcula_distancia_do_projetil def calcula_distancia_do_projetil (v,y,o): d=(v**2/2*9.8)*(1+(1+(2*9.8*y/(v**2)*(math.sin(o))**2))**1/2)*(math.sin(2*o)) return d
[ "you@example.com" ]
you@example.com
03bc5e94be60fffd853f3fb807cf40cd48b22a37
eb874c1b263a1db2f7beb04b08d51a5b0f6ad8e8
/dialogue_pl/data/__init__.py
49d24ae5a545529689f4ecd4d288609922345155
[]
no_license
freekang/DCL-1
2c89d5b07767864819709118f06f1e34465c5c5d
63f30e282716a22a922c29e4f3b5e5f81696dbb0
refs/heads/main
2023-04-03T14:29:45.764790
2021-04-11T02:53:20
2021-04-11T02:53:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
from .dialogue import DIALOGUE
[ "852975133@qq.com" ]
852975133@qq.com
79a050f31a660c145abbe294845dfb565e0e78c2
81d523c432d2b6f20b40fd96a8be9a84b32da0c1
/apm/manage.py
ca3e62e7767dcc19a517959a82a2b88884fcaf86
[]
no_license
devmanorg/apm-server
3550e472554a7bb66e6ed93a8dce10f37b32f663
4fb1affd0c1f775fc7ff051ce5b18223343fad55
refs/heads/master
2022-05-03T18:40:35.366061
2021-10-12T13:50:11
2021-10-12T13:50:11
215,140,988
1
0
null
2022-04-22T22:32:47
2019-10-14T20:40:06
Python
UTF-8
Python
false
false
623
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'apm.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportErro...
[ "pelid80@gmail.com" ]
pelid80@gmail.com
d541609cc7a9545847395399b4cb428f20e37fd4
603db646b1ec2a9c9642366cc0da552611560786
/Implementation/document_matrix.py
5a458b9c0de6957e0744cc5f6b9c953542022641
[]
no_license
yazoo178/08_JUL_TP
3f6a73795229d35f7ae7fc18246b73de888a4eb0
2c020a66bbf6378487cc71525b9235042803f38c
refs/heads/master
2020-12-02T12:43:58.705785
2017-07-07T23:04:46
2017-07-07T23:04:46
96,582,604
0
0
null
null
null
null
UTF-8
Python
false
false
6,003
py
import re, math, concurrent.futures WordRegex = "'?\w[\w\d']*(?:-\w+)*'?" WordIndexFileRegex = "('?\w[\w\d']*(?:-\w+)*'?)(\t)({[0-9]+,[0-9]+})+" TokenMatch = "{([0-9]+),([0-9]+)}" #class used to represent our documents #encapsulate the tokenized words #the documents in which they occur #and the count of each word #th...
[ "wbriggs2@sheffield.ac.uk" ]
wbriggs2@sheffield.ac.uk
c8613482012ee5bf3cb7cfc3dc94da44235db342
6f2d1ccce4e26507197ff7999d6f5de685cc7b52
/lfs_bulk_prices/migrations/0002_auto_20151116_0957.py
70d67a14a6c6116fbec2c2ea352e8f6279a31fbb
[]
no_license
diefenbach/lfs-bulk-prices
fa75ac290ad65cb1710a92d40c8985371e03a08d
4436c2a4900252d2d383a204592a2b09cf4da44d
refs/heads/master
2021-07-11T12:57:06.756062
2021-02-19T09:16:48
2021-02-19T09:18:18
46,726,824
1
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lfs_bulk_prices', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='bulkprice', ...
[ "kai.diefenbach@iqpp.de" ]
kai.diefenbach@iqpp.de
d7882fa251ce0c003d6de4b848fbff3c65cbdc40
01fdd206c8c825b30870bdd3f6e75f0aa113b849
/test/record/parser/test_response_whois_dns_be_response_throttled_limit.py
014c5d855b66aa98b92ba4b07b0d6a1eaf38451c
[ "MIT" ]
permissive
huyphan/pyyawhois
0fbc5a7d64a53ae6e3393fdc1c7ff0d0ac5f22b5
77fb2f73a9c67989f1d41d98f37037406a69d136
refs/heads/master
2021-01-23T22:42:55.989651
2015-09-19T16:40:06
2015-09-19T16:40:06
23,335,785
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
# This file is autogenerated. Do not edit it manually. # If you want change the content of this file, edit # # spec/fixtures/responses/whois.dns.be/response_throttled_limit # # and regenerate the tests with the following script # # $ scripts/generate_tests.py # from nose.tools import * from dateutil.parser import...
[ "dachuy@gmail.com" ]
dachuy@gmail.com
0b86382d473f8d6bbaff9f76378219dd14a66205
67b757dcbdd1ea1fdcd88ea28e14ec79a0bfbf49
/project/migrations/0001_initial.py
de9720655a9368332615ff025a3d41851e344c59
[]
no_license
arashaga/portal
12fa4211d25a8beafac3a1ec69bb1a51d277b1ba
bb6958e3650a2be2628249a4ef12500f25f51032
refs/heads/master
2021-03-12T22:45:57.775263
2014-08-13T19:25:45
2014-08-13T19:25:45
21,305,193
0
1
null
null
null
null
UTF-8
Python
false
false
8,588
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Projects' db.create_table(u'project_projects', ( ...
[ "arashaga@gmail.com" ]
arashaga@gmail.com
b6ee9ff2a44b284a10b7d1885a7e8fb5f83db66f
9f37cb9c18d04aa85f9a9129bab379c5c02f721c
/MRINet.py
5381fefc56c51482ab7e2265b026a61d23fca7d2
[]
no_license
KarthikeyanG44/MRI-3D-CNN
560437d5a74a79918973a7eaf5e142f07ffed893
1de174be243bcd7a1d572e27c79adbc8bd29e39d
refs/heads/master
2022-04-23T09:10:16.659081
2020-04-24T13:04:17
2020-04-24T13:04:17
255,686,732
5
0
null
null
null
null
UTF-8
Python
false
false
1,739
py
#### Import Dependencies ### import torch.nn as nn import torch.nn.functional as F ####### Define the network ##### class MRINet(nn.Module): def __init__(self,): super(MRINet, self).__init__() self.Conv_1 = nn.Conv3d(1, 8, 3,stride=1) self.Conv_1_bn = nn.BatchNorm3d(8) self.Conv_2 =...
[ "karthikeyan@gatech.edu" ]
karthikeyan@gatech.edu
ceafb48a0c91b672dd1c099335f8dadfba4a977b
2d53d2d4ae159a7ceec0f1299ac3f9cdf7ecb133
/docs/conf.py
19963fb93adce54e1c3123c2b9db22ea2db72a34
[ "MIT" ]
permissive
yngtodd/orbiter
89f8707d6f6a8f7d3b7b8ebaba80de9b67a1b7a8
7dac1e9c79dc1717d700639e51a7ab4b5d44593e
refs/heads/master
2020-04-09T04:16:36.593951
2018-12-03T06:15:43
2018-12-03T06:15:43
160,016,613
0
0
null
null
null
null
UTF-8
Python
false
false
5,561
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the...
[ "young.todd.mk@gmail.com" ]
young.todd.mk@gmail.com
4ff3e5cad72556fe9f962ad7f103b00c8c5e6ba2
53e4afae28fb51bf3227c9b4b1288f5ae902db43
/reddit/structures.py
555d3f55305d0b600f2ba325c6ad1ef88a61011c
[ "BSD-3-Clause" ]
permissive
geosoco/reddit_api
64994522f301e50e44d7e9e3ffddb97769ccd58f
02a1b6564e444316617b1daf55c4c63ca64875f0
refs/heads/master
2021-01-25T13:58:19.822716
2018-03-03T02:12:56
2018-03-03T02:12:56
123,632,140
0
0
null
null
null
null
UTF-8
Python
false
false
3,949
py
#!/usr/bin/env python # """ Reddit objects """ import requests import logging log = logging.getLogger(__file__) """ ========================================================================== Thing ========================================================================== """ class Thing(object): """ ...
[ "soco@uw.edu" ]
soco@uw.edu
5355bfcabb3956189c99cc3cea4fa9121f492993
fc947740e3d546620c9bac01194de1078e2b485b
/xDeepFake-Test/deepFake_test_video_decision.py
51a2b866069b3ce608a15a52881d28c7af6a4fd0
[ "MIT" ]
permissive
umitkacar/Kaggle-DeepFakes
02ff9a599f7e35dbaa2a8b2831841d31f2224b3d
3e84a3eff4697e527f2324b9716adfb208a7be62
refs/heads/master
2022-03-30T16:48:05.049612
2020-04-04T12:37:32
2020-04-04T12:37:32
252,771,851
0
0
null
null
null
null
UTF-8
Python
false
false
5,109
py
import sys from datetime import datetime import time from mtcnn import MTCNN import tensorflow as tf import numpy as np import cv2 from model.dtn import DTN DEEPFAKE_MODEL_PATH = "/home/umit/xDeepFake/log/model/ckpt-204" def leaf_l1_score(xlist, masklist, ch=None): loss_list = [] xshape = xlist[0].shape ...
[ "noreply@github.com" ]
noreply@github.com
7cdcb92bb8715988a8d3f207dcad0d300ffd2361
58726ad7b35626ce83e0d38d1866af8952463cc9
/letters.py
7b7946298583ff1f8fcab61dc0fb99758e10a8e2
[]
no_license
misterye/python
afe85fecde0474b0849fd69ac98e23f799e2b197
70fef8727abaf6426e2e507ec494b8141a8f7699
refs/heads/master
2021-05-31T06:01:18.914592
2016-03-01T08:44:22
2016-03-01T08:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
from swampy.TurtleWorld import * import math world = TurtleWorld() bob = Turtle() bob.delay = 0.01 def polyline(t, n, length, angle): for i in range(n): fd(t, length) rt(t, angle) def arc(t, r, angle): arc_length = 2*math.pi*r*angle/360.0 n = int(arc_length/3)+1 step_length = float(ar...
[ "zess1982@gmail.com" ]
zess1982@gmail.com
9f8af9b9017ff8043f2e5e6554d7330ea3de199d
073294166acbe3eba7af0c4e0d84ce5fc3b08576
/segmentation/transforms.py
6543b0dc0224ef2edf1c08c55219e911e9cbe904
[ "MIT" ]
permissive
sofroniewn/pytorch-segmentation
7f0c72e12478fb7434f7a91544595961fb0be4bb
0d2c6f874ed10973b860fe99b557baa691d584b7
refs/heads/master
2021-08-28T08:34:11.306328
2017-12-11T18:49:07
2017-12-11T18:49:07
111,135,869
1
1
null
null
null
null
UTF-8
Python
false
false
5,043
py
''' Some transforms taken from https://github.com/ZijunDeng/pytorch-semantic-segmentation ''' from numpy import array, int32, random, asarray from numpy import linspace, meshgrid, dstack, vstack, sin from numpy.random import normal from skimage.transform import estimate_transform, warp from PIL import Image, ImageOps ...
[ "sofroniewn@gmail.com" ]
sofroniewn@gmail.com
7ed9978c014fddeb187157e735facdae45341a67
7b4f39225305df655129deda553462f2c770b95f
/resources/SyncDb/sync_rest.py
a10475e808151805ce21289e7c9960367495da71
[]
no_license
npospelov/docker-osm-server
bae95a8297156ee689e589bcc172b6a6acfc4393
a2d180f36980eede4079a7bc6a7b6b6c403824c7
refs/heads/main
2023-02-21T11:03:02.282131
2021-01-21T11:39:59
2021-01-21T11:39:59
331,608,777
0
0
null
null
null
null
UTF-8
Python
false
false
3,608
py
import requests import configparser import lxml import lxml.etree import os import subprocess import logging class CmdCsList: def __init__(self): self.config = configparser.ConfigParser() self.osm_host = None try: self.config.read('sync_db.ini') #print ([x for x in ...
[ "npospelov@gmail.com" ]
npospelov@gmail.com
77c86704dd758d9cd196693c271faf8f586f753b
ee9daa15a58655f460fd2dec82bc6afa3f6af54f
/class_0605/class_1.py
41baf4c608d0c8918caced5d83a765c04f07c7b5
[]
no_license
januarytw/Python_auto
a2aebf4240ed14ceddafaaec382dca35dcd8f309
851562a67936f6f71f1d5dcb25075af84300524c
refs/heads/master
2020-03-19T03:04:27.333049
2018-08-13T10:03:35
2018-08-13T10:03:35
135,692,150
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
#初始化函数 (出产就自带的) def __init__(self) # 特点: # 1 和普通函数一样,有关键字self # 2 他可以单位制参数、默认参数、动态参数 # 3 他没有返回值 # 4 作用:每一个实例创建的时候 ,都会自动的带上init函数里面的参数 # 5 你自认为是这个类必须要具备的属性,请放到init函数里面 class user(): def __init__(self,name,content): self.name=name self.content=content def descirber_user(self): print("该...
[ "januarytw@126.com" ]
januarytw@126.com
06c99fc729f976a78ae3c07d3fcbb490818a308a
51e07e7d64d9e281728aa49d216c9f7df3af48f8
/face_detection.py
090978b39d40d77440f43c2a4e05470f7970f756
[]
no_license
pawantilara/OpenCv-program
2e10b8b4075b384c854f4c041f209681d4cce8ef
286f73db88674cc13af05f815f16a820e0174007
refs/heads/master
2021-10-22T17:48:30.092883
2019-03-12T08:50:50
2019-03-12T08:50:50
83,038,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,903
py
# OpenCV program to detect face in real time # import libraries of python OpenCV # where its functionality resides import cv2 # load the required trained XML classifiers # https://github.com/Itseez/opencv/blob/master/ # data/haarcascades/haarcascade_frontalface_default.xml # Trained XML classifiers descri...
[ "noreply@github.com" ]
noreply@github.com
3d6d4a55f752a49e7a3f5a20221fd3fd424424ea
f6d5896526ff295cd9619b449c67e7dcfba5ef6b
/CodeWars/Python/sum_of_positive.py
8710e12269130572ab7c07a3674a008fdc16f7d4
[]
no_license
cmondorf/Code-dojo
677bd6ff8613e17f9d119fe60310a5575cae392d
0afdb764225c82a31140981b11f7f259dc25f355
refs/heads/master
2022-05-05T21:15:58.236613
2022-04-30T06:31:13
2022-04-30T06:31:13
64,531,726
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# sum of positive array items def positive_sum(arr): sum = 0 for element in arr: if element > 0: sum += element return sum
[ "christian@mondorf.dk" ]
christian@mondorf.dk
767e6a87c329adf36582637a53599d9264249f67
54dda0bde0546125735aa28f5fb44eabd4a90457
/redact_pdf.py
c07d78ee53a3b54b44dfe546fd49c6893c10189b
[]
no_license
jcausey-astate/redact_pdf
2fe78964d88248c7ea40d76866e09adc4c466ca5
b93ad37081e3bc81fdb0f449ebe0518deabfaa13
refs/heads/master
2020-04-09T03:30:32.992942
2013-10-03T15:07:09
2013-10-03T15:07:09
13,299,770
2
1
null
null
null
null
UTF-8
Python
false
false
7,119
py
## ########################################################################################### # Redact a PDF by applying a redaction mask (also a PDF file) to the specified pages. # Default is to save output back over the input file, and to apply the redaction mask to # the first page only. This can be changed in opt...
[ "jason@jasoncausey.net" ]
jason@jasoncausey.net
169b582234ba2aeb59158e40330fe32c2718d051
e086dc8b0f2afcc6fe3cec65943cd73a9c4b9d45
/locallibrary/catalog/tests/test_forms.py
69640442bb71764c3ebf880636d1198f61aa025a
[]
no_license
huyen99/mysite
6e6e2c15784016a62370a9974785a61a3a17beab
74f832c5a87bf4752a694c7d02df296119af06f7
refs/heads/master
2023-07-08T08:48:57.846318
2021-08-11T07:19:14
2021-08-11T07:19:14
390,216,323
0
0
null
2021-08-11T07:19:15
2021-07-28T04:46:48
Python
UTF-8
Python
false
false
1,410
py
import datetime from django.test import TestCase from django.utils import timezone from catalog.forms import RenewBookForm class RenewBookFormTest(TestCase): def test_renew_form_date_field_label(self): form = RenewBookForm() self.assertTrue(form.fields['renewal_date'].label is None or form.fields...
[ "huyen@gmail.com" ]
huyen@gmail.com
99557f8f1c92e921fe2ff9b5e5bb6c8b2689b248
6fe664a678625885391c621c8c16cbf61a921cd6
/br_scraper/src/db.py
40441214245ba72cb3e28e5680b482f4dde4adeb
[]
no_license
Bralor/bezrealitky_scraper
1b7293ee9078f628e7b3bd26b522642c5290ee2c
054c86bd10bbcce682df88d6c037f79f5a0a7298
refs/heads/master
2023-07-02T16:56:08.595470
2021-08-09T17:45:26
2021-08-09T17:45:26
380,360,771
0
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
import pymongo class DbWrapper(): def __init__(self, hostname: str, port: int, db_name: str, col_name: str, data: list) -> None: self.hostname = hostname self.port = port self.db_name = db_name self.col_name = col_name if not data: raise Except...
[ "bralor92@email.cz" ]
bralor92@email.cz
6b8b8673351f44ae0d096eb7c11b5cab78dafa55
95b57cb90ea0625ede16679b0a6a324342c1ec28
/stars/apps/api/wishlists/urls.py
e9dea5c23a9a266486d864516a41d97e3fec33d7
[]
no_license
lisongwei15931/stars
2814f5cc9d08dd26a25048f91b27ff1607a659cb
3d6198c2a1abc97fa9286408f52c1f5153883b7a
refs/heads/master
2022-11-27T07:08:52.048491
2016-03-18T09:33:55
2016-03-18T09:33:55
54,242,594
0
0
null
2022-11-22T00:36:28
2016-03-19T02:10:35
Python
UTF-8
Python
false
false
324
py
# -*- coding: utf-8 -*- from django.conf.urls import url from stars.apps.api.wishlists.views import AppMyFavProduct, AppMyFavListView urlpatterns = ( url(r'^list/$', AppMyFavListView.as_view(), name='api-myfav-list'), url(r'product/(?P<product_pk>\d+)/$', AppMyFavProduct.as_view(), name='api-myfav-product'),...
[ "lisongwei1593@gmail.com" ]
lisongwei1593@gmail.com
dc0f7a69c5550004b0d73e7b5a648ba9ee3fbacc
1c861897966a33934d42bfe9abc33f36c4459a58
/deleter.py
843f4d447ab448d28103c108ea2d21b22ef331a6
[]
no_license
zackseliger/Insta-Bot
79497c7c5a3a6fe9efb1e3a174eb0385759c5a18
b81a657ce550b5fbc57a8d707d25738003a2982a
refs/heads/master
2021-01-01T10:48:58.879814
2020-07-25T06:19:30
2020-07-25T06:19:30
239,245,434
0
0
null
null
null
null
UTF-8
Python
false
false
3,212
py
from Manager import Manager from Account import Account from time import sleep # create manager and account manager = Manager() account = Account('accounts/test.acc') # run account manager.openAccount(account) sleep(10) manager.browser.browser.get('https://instagram.com/'+account.username) manager.browser.save_cookie...
[ "zseliger@gmail.com" ]
zseliger@gmail.com
11173608354abf6a88f53152b6b7f1d628d87afe
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Pygame Tutorials/examples/steering.py
304d68a6b4c11dccbabc301fe733570a646282bf
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:4721637f392de26806bdc6150291bb24ce5c59aa4dfc8dcd866c9e28b0841d70 size 4685
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
5ef0d67c25609f004301903bd5332bdf4b049348
0371ca2b176f3227290dac292531137be9b001de
/IntervalosDeTempo.py
52420808a09fc8ee5854c572c5d9a9151748ca25
[]
no_license
DiolanGodinho/EmprestimoDeBicicletas
68006d72a24fe8de086cddfd1c938801680a6460
2501ea28083a472f5bb020e21ce55f9917efdcbf
refs/heads/main
2023-07-17T11:58:01.212767
2021-08-30T17:09:48
2021-08-30T17:09:48
399,659,045
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
from datetime import timedelta temposDeEmprestimo = [ # Intervalos de tempo para simular empréstimos de bicicletas. timedelta(days=2, hours=1, minutes= 50), timedelta(days=3, hours=6, minutes= 40), timedelta(days=4, hours=11, minutes= 30), timedelta(days=5, hours=16, minutes= 20), timedelta(da...
[ "diolanssp@gmail.com" ]
diolanssp@gmail.com
7988d7e41bcb911d2ec0b1a79c1f4557077c580b
9ae6380635a3308a8ae60945d02afa84c6435feb
/setup.py
6b323b982686c610e862672c0b786be5fb854e2e
[ "BSD-2-Clause" ]
permissive
kevinbennett/django-url-utils
64f28c01312babbf02eaa6a43bb507d1e5bc73db
d49654d12a9e230189c49478630548a0562795ca
refs/heads/master
2020-06-28T19:36:28.740688
2013-05-31T11:03:11
2013-05-31T11:03:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,046
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import re import os import sys name = 'django-url-utils' package = 'url_utils' description = 'Django template tags for manipulating URLs' url = 'http://github.com/brightinteractive/django-url-utils/' author = 'Bright Interactive' author_email...
[ "francis@bright-interactive.co.uk" ]
francis@bright-interactive.co.uk
ebf8f5ade339bfb5d20cea85361876424f1ac995
e2ae5c6d1d3ff9c512d526b1b4d7d7b64d50e87d
/py/leetcode/462.py
1d4d727740ec0c4564734565c5d9d36269ff7c4c
[]
no_license
wfeng1991/learnpy
59ed66d0abc2947c2f73c0bfe3901ef45ba5eb56
e5b018493bbd12edcdcd0434f35d9c358106d391
refs/heads/master
2021-01-23T07:35:08.376547
2018-09-28T02:16:31
2018-09-28T02:16:31
86,430,476
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
class Solution(object): def minMoves21(self, nums): """ :type nums: List[int] :rtype: int """ # from functools import reduce # sumv=reduce(lambda x,y:x+y,nums) m=float('inf') for n in nums: t=0 for i in nums: if ...
[ "wfeng@wf-mbp.local" ]
wfeng@wf-mbp.local
0a296b5ad1b1dcedf0f5d1bbe9c425e3fee72bdf
7aed4029c9a8149aad133df44d6abfd306bcd70a
/2018/day13/part1.py
0ff06126bac8201744954edc6fe82d44b1803849
[]
no_license
janosgyerik/advent-of-code
b669902aa9efc0f8fded1012932602d9ccb693e7
dd12d0c31d6766abccaeebc5474f0855df66f561
refs/heads/master
2023-04-01T19:33:21.500017
2020-12-24T06:22:01
2020-12-24T06:22:01
160,064,435
0
0
null
2023-03-30T06:51:35
2018-12-02T16:02:21
Python
UTF-8
Python
false
false
5,262
py
#!/usr/bin/env python import sys from collections import deque class Graph: def __init__(self): self.carts = [] self.lines = [] def add_line(self, line): self.lines.append(list(line)) def add_cart(self, cart): self.carts.append(cart) def move_carts(self): so...
[ "info+kronos@janosgyerik.com" ]
info+kronos@janosgyerik.com
b167ff6601ea583fec0edfa4ff1464a3e3ce9178
30ac20df59064a40ef19d2fec909a56c6c138d13
/archive/src V2/test.py
7bc5725eed7772e5a854da01822f2e51c1a18117
[]
no_license
stevenleigh/sib
02c51ddd12aefbbb8b6d319a3cbb3c520cc79d50
9a29a2866041b55048f7f1d37ff488ccd28bf660
refs/heads/master
2016-09-06T14:06:20.126620
2014-06-11T14:00:11
2014-06-11T14:00:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,639
py
from file_blob import file_blob from commit_blob import commit_blob from local_blob_manager import local_blob_manager import time from multiprocessing import Process import os #from peer_manager import peer_manager import peer_service import xmlrpclib import random import logging import shutil logging.basicConfig( ...
[ "joe.keur@gmail.com" ]
joe.keur@gmail.com
c98bffd08b4c745b73f1be9657c6bfa2855d4ad2
76fb247d9c3dddca923556f4280ba3352f7babe4
/Constructors.py
66645614b47a7e71ebe50a9b0d3d92ded7ca929e
[]
no_license
3DRD/Python_basics
7b0ea7dbbb9eea31f6af8fe2d5fb50a9e5783dcb
72f8c39070f959557ea7e86e41239ad5b26a5c67
refs/heads/master
2022-12-11T00:07:50.184637
2020-08-25T15:15:17
2020-08-25T15:15:17
290,247,240
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
class Point: def __init__(self, name): self.name = name def talk(self): print(f"{self.name} Talks") point1 = Point("DRD") point1.talk()
[ "noreply@github.com" ]
noreply@github.com
67930ac56352aef823f83a76db70e39f80a0bf34
4bf1ffdfcd77c526445d59d3349b6069b0517cfb
/identify.py
2d19b8a899fed1f245f6b2899c72ca27d6488376
[ "MIT" ]
permissive
StephenApX/BacteriaDetect
11ac6f227c00947a6c61e0a8186ca3b9ae3f0341
69b967391af13922cee3274ad5fb52d7a0836564
refs/heads/main
2023-05-26T12:23:53.111612
2021-06-11T09:10:59
2021-06-11T09:10:59
375,795,602
2
0
null
null
null
null
UTF-8
Python
false
false
9,410
py
# coding:utf-8 from os import path, makedirs, listdir from argparse import ArgumentParser, RawTextHelpFormatter from datetime import datetime from copy import deepcopy import numpy as np import cv2 from cv2 import imread, imwrite, blur, cvtColor, COLOR_BGR2GRAY, HoughCircles, HOUGH_GRADIENT, rectangle, circle, putText,...
[ "476050972@qq.com" ]
476050972@qq.com
dcc068eccae45881dc3ac6a2cf4b6ada63fdb4e0
9cbc8611a5db7c3da21a77ec2ea104dc3a9446ae
/Les 03/2.Lists & numbers.py
0ea44fd0237e95abc25946add43271d7b20fe1e6
[]
no_license
xwolfyxNL/Python-Huiswerk
d70bbe1674b57d13187e98eb5003a4173d87a31c
5445a4cce0f3fb3608cec5e9a0445975db2cd68c
refs/heads/master
2020-03-29T09:22:34.488540
2018-10-22T10:18:33
2018-10-22T10:18:33
149,754,944
2
2
null
null
null
null
UTF-8
Python
false
false
57
py
cijfers = [3, 7, -2, 12] abs(min(cijfers) - max(cijfers))
[ "41stefan@gmail.com" ]
41stefan@gmail.com
9694a496a64eedfdbaec3a322b05e2c6590bc131
bc709040da3735367414c8f6af1a650424e0cc80
/exercicios/ex010.py
f3538cca1572d44abcb97fff7b2bca0ea87443ae
[]
no_license
alessandraseitz/Python-3-Mundo-1
7c6acd9f4eba7fab2bbf7241ffdd4c0bf07487a9
e8829d6a383c7da1f4669a8de743f98641740df5
refs/heads/master
2022-12-31T23:43:36.996991
2020-10-27T00:02:24
2020-10-27T00:02:24
307,531,852
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
#Crie um programa que leia quanto dinheiro uma pessoa tem na carteira e mostre quantos dólares ela pode comprar. Considere US$1,00 = R$3,27 real = float(input('Quanto dinheiro você tem na carteira? R$ ')) dolar = real/3.27 print(f'Você tem U${dolar:.2f} dólares.')
[ "alessandraseitz@gmail.com" ]
alessandraseitz@gmail.com
71b376ed2e27b39a986d6602c059d315078ab265
96f2c34acf4e2071b174aca01c1371aea78ef409
/TransitionMat_SingleCell/stablefactors.py
9902c747fd6eb096619f3317e478cb84960af93a
[]
no_license
neelayjunnarkar/CapstoneModelingProject
fd554ba7cce80ee00d37c1d57469fc2e5805f855
088092fd4d591e05871d59fdeb92e7b50dbe2e34
refs/heads/master
2020-12-24T13:17:55.398580
2016-03-15T18:20:52
2016-03-15T18:20:52
42,912,512
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
def genstable_e(l, ss, g): ''' Use to generate a stable e value given values for l, ss, and g ''' return (-(l-1)*((g-1)*ss+1))/(g) def genstable_g(l,ss,e): ''' Use to generate a stable g value given values for l, ss, and e ''' return (float(l)-1)*(float(ss)-1)/((float(l)-1)*float(ss)+...
[ "neelay.junnarkar@gmail.com" ]
neelay.junnarkar@gmail.com
211caa9aae58973aba2e7ba89e08c08a42df71b5
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/vlanrange_afd81185ed8c3bb5459ca36e2f1f1e6a.py
17a06921e97b68ca50fdde1a771fb8afdae83487
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
12,376
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
31b4141a873aabaddebfc4f7cabbd48c62df8a2a
af0371bae18b35cddfedff5b0691bee6e0a49fa0
/blog/views.py
200c57024f905596eb914dccc64dfbb7cc69c71f
[]
no_license
loveAlakazam/myFirstDjango
4f0eaab72033cc1ec37af5ab38b7bb51ddb54437
254e673e16ae63813283a8f2ca11221013c71e91
refs/heads/master
2022-04-13T09:18:09.627762
2020-04-12T17:52:15
2020-04-12T17:52:15
255,072,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
from django.shortcuts import render from .models import Post from django.utils import timezone from django.shortcuts import redirect, render, get_object_or_404 #라이브러리 추가 from .forms import PostForm def post_list(request): posts= Post.objects.order_by('published_date') return render(request, 'blog/post_list.htm...
[ "dmsrkd1216@gmail.com" ]
dmsrkd1216@gmail.com
5a9597bd786db3a88a6fc2f92ea4a216148767c8
909204353bf76ac66f12c99759361c3bb6a4c6c1
/TriggerProjectiles.py
0c593ce0bbfd91e2cb949c2cd4ed353dd3aa6a0f
[]
no_license
LoomAcademics/pygame-assignment
32e9af11a25f9e8503d66124efef56777add6f6f
d89e0cda478b335d7e24ec3fd45acab92fe54514
refs/heads/master
2021-01-12T14:36:15.609002
2016-10-26T21:17:15
2016-10-26T21:17:15
72,035,959
0
4
null
null
null
null
UTF-8
Python
false
false
2,000
py
import pygame, sys from pygame.locals import * from Projectile import * class Projectile: def __init__(self, x, y): self.color = (253, 204, 17) self.x = x self.y = y self.speed = -5 self.isDead = False def update(self): self.y += self.speed if self.y <= ...
[ "jacobjoaquin@gmail.com" ]
jacobjoaquin@gmail.com
a5f368ea34dd6b85d222ab23cab1da116907cf7f
4a3f8ce7daa54a51a93bae9bd6b4a48d1c9cb225
/LinkedList.py
4ac2ba792f00af88cc68d5fb0d72de2562835c83
[]
no_license
KmrAnil/Python
bf119ee19f2c16c5619a64520aef2ac7f3668afa
3a193f3eedf3288f45a12daed5703bfff1ae2d92
refs/heads/master
2020-06-26T13:46:06.192515
2019-08-07T15:14:39
2019-08-07T15:14:39
199,648,245
2
0
null
null
null
null
UTF-8
Python
false
false
3,915
py
class Node: def __init__(self,data): self.data=data self.next=None class LinkedList: def __init__(self): self.head=None self.tail=None #insert Node at the end of linked List def insertNodeAtTail(self,new_node_data): new_node = Node(new_node_data) if self.head ==None: se...
[ "noreply@github.com" ]
noreply@github.com
d15ad3682c2dd238d60b3a61473c8c144f95cfab
d143cf96565ae5696b4836ffb0953f199bf3d6d3
/debug_rjmc
f171b8659b62ab97ba9c7dc482ff212783833db7
[]
no_license
ocmadin/RJMC_LJ_Ethane
6e90b6614df3ceedbdf2f1862af03bd0d5c05dc7
c95c66a06ad44c023258f5d5f7635c96a3c681fc
refs/heads/master
2021-06-11T01:49:49.327485
2019-11-19T20:06:50
2019-11-19T20:06:50
115,141,168
0
0
null
2019-11-19T20:06:51
2017-12-22T18:36:10
Python
UTF-8
Python
false
false
1,881
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Sep 9 17:16:05 2019 @author: owenmadin """ from __future__ import division import numpy as np import argparse import scipy as sp import matplotlib.pyplot as plt import pandas as pd import yaml from LennardJones_correlations import LennardJones from Le...
[ "owen.madin@colorado.edu" ]
owen.madin@colorado.edu
0c0bb901ffc02ac468d92195b334cdef296ff75b
d58cf76ddd9982297001408f2a4c81002f49a832
/main.py
9388a904227d9f62132c934882347418da33f3bb
[]
no_license
fpadula/gesture_recognition
9b8856f38dcbf75b57b8db539473df51ef63df83
934346c45c6836ca2a77f2455870df5a26b673a1
refs/heads/master
2023-08-12T11:56:25.474104
2021-09-24T18:27:11
2021-09-24T18:27:11
410,062,842
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
from GestureReader import GestureReader from SimpleStateMachine import SimpleStateMachine import cv2 as cv def main(): sm = SimpleStateMachine() gr = GestureReader() # Opencv configs: cap_device = 0 cap_width = 960 cap_height = 540 cap = cv.VideoCapture(cap_device) cap.set(cv.CAP_PROP_...
[ "fpadula92@gmail.com" ]
fpadula92@gmail.com