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
a11b6df5b3eab6c6aa3df119ccb976ed561e0356
a1be38a8108f03dfef02a471bdd3daad6f3ae9af
/graph_garden/cli.py
9f594e027175196a2af23cbf038462aaefa16b1e
[ "Apache-2.0" ]
permissive
ldtoolkit/graph-garden
1bd4882d150d7ded6dbe583559071eb848b41375
335761ef1c0b98c644b61236561f5ac93eb5a54e
refs/heads/master
2022-12-15T13:54:06.068520
2020-09-19T12:23:25
2020-09-19T12:23:25
296,370,201
1
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
from graph_garden import arangodb from pathlib import Path from typing import Optional import sys import typer arangodb_app = typer.Typer() app = typer.Typer() app.add_typer(arangodb_app, name="arangodb") @arangodb_app.command() def list_versions(clear_cache: bool = False): for version in arangodb.list_versions...
[ "infroma@gmail.com" ]
infroma@gmail.com
caff9b449e11c9ecb37a05412c24abcb58c8f83e
6ebe740bfeee7d0782ce95d9b4256ebb430599ac
/hitcount/migrations/0005_auto_20180511_1446.py
4c3f1ff9121d0615e568bfa2f87b6ddd41f80ca8
[ "MIT" ]
permissive
fsymonenko/django-hitcount
61635f6d00ee02788cae78470dd6e71d4136ae2d
cb7690a9a6e9a59da2a63abd6d915855963f8c20
refs/heads/master
2021-05-25T16:09:52.125038
2018-12-21T08:59:47
2018-12-21T08:59:47
253,820,160
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2018-05-11 11:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hitcount', '0004_auto_20180427_1254'), ] operations = [ migrations.AlterFie...
[ "megoloman@ukr.net" ]
megoloman@ukr.net
ab949e014ed3ce90f3961aac4caac1c65008e47d
f5a62d76dcb1534ff3100d14a03856ca630ea40f
/src/yamlu/__init__.py
20b5316a8e3a6cec15beff51bc225c55675c6af7
[ "Apache-2.0" ]
permissive
bernhardschaefer/yamlu
8a9b8cbee9ecccc423edce9e18379b5dacf34201
c4e4aa09f3be41eef5cec6372f01dccb78c435fd
refs/heads/main
2022-11-12T07:35:03.832266
2022-10-26T19:11:25
2022-10-26T19:11:25
169,756,110
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
import sys from yamlu.img import read_img, plot_img, plot_imgs, plot_img_paths, plot_anns from yamlu.misc import flatten from yamlu.np_utils import bin_stats from yamlu.path import ls, glob if sys.version_info[:2] >= (3, 8): # TODO: Import directly (no need for conditional) when `python_requires = >= 3.8` fro...
[ "bernhard.schaefer@sap.com" ]
bernhard.schaefer@sap.com
038378c030394f3b2bf97bb64ff1ad870e004712
cc415b328a443937016ede691badddc6ac116055
/Python/List Comprehensions.py
b303aa8b0ea992b5bbe9670aa390181498415fc6
[ "MIT" ]
permissive
hakerarena/HackerRank-Solutions
0480278c5174f0676fd8ef5c78681fa6e624f823
4159711286231fd4eb45b65c5a44bd72f7352889
refs/heads/master
2022-04-16T18:03:24.686060
2020-04-13T22:16:56
2020-04-13T22:16:56
189,284,284
0
0
null
2020-04-13T22:16:57
2019-05-29T19:14:16
Java
UTF-8
Python
false
false
261
py
/*Code provided by hakerarenatutorials.wordpress.com*/ if __name__ == '__main__': x = int(input()) y = int(input()) z = int(input()) n = int(input()) print([[i,j,k] for i in range(x+1) for j in range(y+1) for k in range(z+1) if(i+j+k!=n)])
[ "noreply@github.com" ]
hakerarena.noreply@github.com
22532dae8e0d9b5ab6b14479bf3acb78f77c966f
6689007e1eec7644a236dead507d2209cf34609d
/accretionStructures/linearAccDisk.py
6573e5d36b45f8452d49694542fb116e59106fa8
[]
no_license
jomen93/RayTrace
daf3109902b5e4568800c3a6f2b50b3f4ab84126
0a2b23400ab76b18660f5dd6d147ff82fe9b3a23
refs/heads/master
2020-03-26T06:44:07.995683
2018-08-27T18:12:50
2018-08-27T18:12:50
144,619,342
1
0
null
2018-08-13T18:37:45
2018-08-13T18:37:44
null
UTF-8
Python
false
false
571
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jun 19 23:16:05 2018 @author: ashcat """ import numpy as np class Disk: def __init__(self, rData, R_in = 3., R_out = 5.): self.rData = rData self.Shape = np.shape(self.rData) self.R_out = R_out*np.ones(self.Shape) ...
[ "eduardalexis@gmail.com" ]
eduardalexis@gmail.com
c7d76c19005b0196b147820d46386e2c1d922bb2
1d528bb263879737eae6f483fac3590ed65f32f9
/Homework/Lesson 7/Homework Lesson 7 - 1.py
de5b5a9c1666bcfab04e9dd32402e9bf4ff369e9
[]
no_license
DAMaas/V1D-Dion_Maas
323417aae2222b13f6f98c5dec8945782b1d1569
0de4859656a9ac9757a1cfc052623c6b7749481d
refs/heads/master
2020-03-29T12:16:18.212101
2019-09-29T17:11:06
2019-09-29T17:11:06
149,891,403
1
0
null
null
null
null
UTF-8
Python
false
false
408
py
# Homework Lesson 7 - 1 def convert(tempCelsius): res = ((tempCelsius*1.8)+32) return res def table(vanafTemp, totTemp, gradenPerStap): print('{:5} {:5}'.format(" F ", " C ")) for tempCelsius in range(vanafTemp, totTemp, gradenPerStap): tempFahrenheit = convert(tempCelsius) pri...
[ "dion.maas@gmail.com" ]
dion.maas@gmail.com
985547429de5e26f0c8cd7b885546ad0e5d927f0
f7288d0406579863364129b588cd24a6ae7b327c
/manage.py
0440701e39fd72af63b495efe776416cd65287d7
[]
no_license
tcosta84/sample_djangoapp
6a3d98903730f2f2c4aafb887dfa026d2e95ed3a
e57e9969e8f74cd3e256825ed0cedc9c6c83bb1f
refs/heads/master
2020-04-21T14:34:28.999094
2014-11-23T16:04:31
2014-11-23T16:04:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sample_djangoapp.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "thiagodacosta@gmail.com" ]
thiagodacosta@gmail.com
955892170707a2c8a470295357132c1efdd22686
3d4a3bebf614086cce8a22510d8c27c0bea52f92
/untitled0.py
5bd8d5dbe7f74619061831dab5515e2402fe2e77
[]
no_license
caelus95/MantaOcean
dc031518051daac9b718b4c7664a057a956475f8
dbc5774f6ecd949a8d8f58c66d0101f816b90dc9
refs/heads/master
2023-06-18T22:00:26.353952
2021-06-29T13:25:48
2021-06-29T13:25:48
365,965,350
0
0
null
null
null
null
UTF-8
Python
false
false
9,731
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jun 29 13:57:54 2021 @author: caelus """ PKG_path = '/home/caelus/dock_1/Working_hub/LGnDC_dep/python_cent/MantaPKG/' import sys sys.path.append(PKG_path) from Manta_Signals.procc_index import sig_pro, linearRegress4Cube from Manta_Signals.utility im...
[ "caelus9536@gmail.com" ]
caelus9536@gmail.com
93a9b3ba43545d0eb32bdf3285680ef5b4023855
22b70235f43be24186fcac6b7563d41493563ee0
/tests/test_examples.py
f1c093d6522ae70eadba50aec4503a48940d2e26
[]
no_license
zeta1999/jaxlie
d469da8c5f2c1f7a9644609a377b10f00ceaa9ce
ea6aa6fe914fc6709bc11852f736a99e5a498055
refs/heads/master
2023-02-13T04:16:15.800416
2021-01-16T08:59:06
2021-01-16T08:59:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
"""Tests with explicit examples. """ import numpy as onp from hypothesis import given, settings from hypothesis import strategies as st from utils import assert_arrays_close, assert_transforms_close, sample_transform import jaxlie @settings(deadline=None) @given(_random_module=st.random_module()) def test_so2_from...
[ "yibrenth@gmail.com" ]
yibrenth@gmail.com
752cda865c0dbb20a9dfd40052cb59e8af24741b
d1aefe862050b56314d766939dea97133b84132f
/modules/core/private_channel/private_channel_controller.py
8b07c623715b47ac7a39bb0d9daaa1aefb34fc21
[]
no_license
Nepherius/Mangopie
3ec348ba030385984e2c713481dcc6aab5cd926a
f5293b902bc7217ae053f94c5b5fa85e9cd3cc4d
refs/heads/master
2020-03-11T21:01:04.803139
2018-05-21T10:08:02
2018-05-21T10:08:02
130,253,173
0
0
null
2018-04-27T19:14:44
2018-04-19T17:58:38
Python
UTF-8
Python
false
false
2,522
py
from core.decorators import instance, command, event from tools.command_param_types import Any from core.private_channel_manager import PrivateChannelManager @instance() class PrivateChannelController: def __init__(self): pass def inject(self, registry): self.bot = registry.get_instance("mang...
[ "nepherius@live.com" ]
nepherius@live.com
cca4433d0c9ae3754b43c7408071a1e60e271914
6bed3db6f1682134631e106c1653397ca7478d2d
/build/ros_controllers/joint_trajectory_controller/catkin_generated/pkg.installspace.context.pc.py
86857d5f44df2c4221f03e8e2152d71d47d432c5
[]
no_license
158774581/carbot_ws
f09fbd405850c20169b6593ab19920446d049716
8a4681c4c4a66e0943ec4bbd5cd8cdffe8381fa0
refs/heads/master
2022-01-11T13:50:25.024901
2019-07-21T14:03:04
2019-07-21T14:03:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/imhs/carbot_ws/install/include".split(';') if "/home/imhs/carbot_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "actionlib;angles;roscpp;urdf;control_toolbox;controller_interface;hard...
[ "rb4609@rit.edu" ]
rb4609@rit.edu
7b0d2ebbf06bacd3bc9759378933e33c4c134c72
1b9eb5ba155285500877fd73faab0ae901f0e874
/zotnote/__init__.py
96618daced5b50add19ef98fd41a116f81ab415c
[]
no_license
sdaza/zotnote
a097c39e655c23c76363b662d2d5b9447efae5cc
01428e96fe962d792fcbdda14f419bba3b2b95ad
refs/heads/main
2023-06-17T08:11:22.049813
2021-07-06T08:10:39
2021-07-06T08:10:39
372,754,875
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from .functions import extractNotes from .functions import exportNotes from pyzotero import zotero
[ "sebastian.daza@gmail.com" ]
sebastian.daza@gmail.com
08e691d2006ed65d94012585946e12fffff4ee0b
601ac0c9f7138b3e506c0511d4a3e7f60a499305
/src/pykeen/nn/init.py
9b1110588b84ebf7380f76235524e0e61daefbff
[ "MIT" ]
permissive
cdpierse/pykeen
9aa551adc05c9e609353d473db1d3da1b92f4ab0
e8225c066b56bcdd3180ba895ce3e153808e7e38
refs/heads/master
2023-09-02T06:30:25.849873
2021-11-09T17:32:15
2021-11-09T17:32:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,348
py
# -*- coding: utf-8 -*- """Embedding weight initialization routines.""" import math import numpy as np import torch import torch.nn import torch.nn.init from torch.nn import functional from ..utils import compose __all__ = [ "xavier_uniform_", "xavier_uniform_norm_", "xavier_normal_", "xavier_norma...
[ "noreply@github.com" ]
cdpierse.noreply@github.com
18138586a59aaaf1e29e0069c865e664e73e1bfa
0f2cd75b6712ad4b4c5508fd30467f9a812357a5
/tripadvisorScrap.py
b635cdfca89ab7fd1ba8dd9af9668df852b30646
[]
no_license
kartikb7/We-Do-Ticket
ac3c4e8dd5b13308714f7c16132eaa888a074029
549d121789027f9fc9d554dfada77881daaa375f
refs/heads/master
2022-03-28T22:17:02.793893
2020-01-05T21:02:06
2020-01-05T21:02:06
213,017,183
0
0
null
null
null
null
UTF-8
Python
false
false
10,548
py
#reference code:https://www.scrapehero.com/how-to-scrape-tripadvisor/ from datetime import datetime from time import time from lxml import html import requests,re import unicodecsv as csv from operator import itemgetter import pandas as pd from prettytable import PrettyTable def hotel_scrap(MatchCity): ...
[ "noreply@github.com" ]
kartikb7.noreply@github.com
f7a1f6c2de3fe073db61c020696bfe9329f1bb0a
c983c4cc1ca2e88885d4c94ae615c6817711f2fe
/fsm.py
b3e98d687716e84fca51f534f4aaf706f93f9ff7
[]
no_license
dinobby/facebook-messenger-chat-bot
8e2b884ee4fc49dd0f116f39392d7442da6149a3
a65d148c7bf6f297984adac6767ef6939b711bd1
refs/heads/master
2020-04-12T09:20:53.943305
2018-12-19T14:25:19
2018-12-19T14:25:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,679
py
import requests from bs4 import BeautifulSoup as bs from transitions.extensions import GraphMachine from utils import send_text_message path = ['綠幹線','綠1','綠2','綠3','綠4','綠5','綠6','綠7','綠10','綠11','綠12','綠13','綠14','綠15','綠16','綠17','綠20','綠20-1','綠21','綠22','綠23','綠24','綠25','綠26','綠27', '藍幹線','藍1','藍2','藍3',...
[ "noreply@github.com" ]
dinobby.noreply@github.com
12d863d79095b97e96ea274f2a32bf1fc79c1279
1c0f09e25d3601f4b7c692c494514f19d3fc1bce
/Two-stage Recoverable FLP/test/test_scipy.io.py
b5349cca145cc595600ef9496a3aacae8c28b27d
[]
no_license
dubo0111/Python
9be94d7670c9eb841d237e6ff4bc45ed5796c7b1
bcf03b360ceb18da75e867d1d63522f1d350e907
refs/heads/master
2020-03-23T21:36:27.155231
2019-09-02T03:32:57
2019-09-02T03:32:57
142,118,526
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
# test .mat I/O import scipy.io mat = scipy.io.loadmat('city_250.mat') a=mat['city_250'] #print(a) b=a[0,:] #print(b) scipy.io.savemat('save_b.mat',{'b':b}) bb = scipy.io.loadmat('save_b.mat')
[ "dubo0111@hotmail.com" ]
dubo0111@hotmail.com
24df43e3a494a253832fa18042119ad13e94661c
0946818d16631ebd2366c9c225ddd0c7301bb85e
/05 - 文本分析/0417-textCNN/20190417/news_classfication_textcnn/preprocess_data.py
21ef1aa8c1e0d8eb748049c14e0d1d5c6a471f69
[]
no_license
frozenYu/AI-course
49a24520040f7bf1df650039a88be378e848c9a7
d64208acacdbe1c0ddc9b30d5d61ad8b80b3074a
refs/heads/master
2020-06-24T11:25:30.446181
2019-05-09T04:29:34
2019-05-12T04:29:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,495
py
import numpy as np import jieba from keras.preprocessing import sequence from keras import utils def split_dataset(filename_in): data_in = open(filename_in,'r',encoding='utf8') label_sentences_dict = {} # 定义一个标签:样本的字典 for line in data_in: label,sentence = line.strip().split('\t') if label n...
[ "lizhicq@gmail.com" ]
lizhicq@gmail.com
ca73adb0ece5f7a1cbeb842f3c0078a486c78355
38a03a8c4426eb31ec566cd62cab05b47ddc123a
/qcwy/qcwy/settings.py
44a6cdd7d83d845b510d55f6a6a0fe86ec7c2c9e
[]
no_license
leehwayou/Scrapy_51job
85a3efaa9790bf6f830665887523a669005e16dc
8bb3f05371261fd5f71d92dcdbd2db9f486615ac
refs/heads/master
2021-03-30T01:58:22.748712
2020-03-17T15:24:05
2020-03-17T15:24:05
248,004,208
0
0
null
null
null
null
UTF-8
Python
false
false
3,285
py
# -*- coding: utf-8 -*- # Scrapy settings for qcwy project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/d...
[ "317551047@qq.com" ]
317551047@qq.com
de7786b217ba7f38702ef86869144ea48d5a1da3
32288fb5bfcef7ee45d45dd8f97f7229a631512b
/python_code/inc.py
0444375b0556b44b5114663693ac69d943af275a
[]
no_license
GalotonReone/PPPPPPP
f4dfd849251c9e1c182a8ae0472050d5b37ac14f
bc6bca69741504b79da03372799bd086dc8e023e
refs/heads/master
2023-08-10T17:29:11.306148
2021-10-02T13:59:17
2021-10-02T13:59:17
412,811,110
0
0
null
null
null
null
UTF-8
Python
false
false
3,685
py
import csv import pandas as pd from sklearn.feature_extraction.text import CountVectorizer from sklearn.model_selection import train_test_split from sklearn.naive_bayes import GaussianNB import os.path with open('C:/Users/Chinmay Chaughule/PycharmProjects/proj1/extra.csv','r') as ro1: read1=csv.reader(ro1)...
[ "noreply@github.com" ]
GalotonReone.noreply@github.com
a6eb0098a1c416649e25f8560bcf7e9e3d2097e5
c61b43cd266ecc5a3ff5244c079e4324383340f8
/example/proxy/app.py
9eb7223102e359482214c5c84a83f148cd18095b
[ "MIT" ]
permissive
fusion44/fastapi-versioning
9cc6dc45f13defa105a7cf58f5aac9ecbdcc9925
c1832936726d9ffce364ac63a9aac2ff3712b37d
refs/heads/master
2023-08-03T12:00:21.601970
2021-09-26T09:00:37
2021-09-26T09:00:37
410,499,977
0
0
MIT
2021-09-26T08:57:34
2021-09-26T08:53:13
null
UTF-8
Python
false
false
331
py
from fastapi import FastAPI from fastapi_versioning import VersionedFastAPI, version app = FastAPI(title="My App") @app.get("/greet") @version(1, 0) def greet_with_hello() -> str: return "Hello" @app.get("/greet") @version(1, 1) def greet_with_hi() -> str: return "Hi" app = VersionedFastAPI(app, root_pa...
[ "deanway93@gmail.com" ]
deanway93@gmail.com
830fbda9a688ec4516ba2b640b81b59383c26b62
ddb3db602622334ba1209f0784b91c7630836e97
/skribblr_project/skribblr_project/urls.py
53613d34741b0a9a72683a2fa32e41bafd1520de
[ "MIT" ]
permissive
mhhoban/skribblr
701a98ea9b4615f1104cb3a98389e14ffbf810f2
834d351ab5adfacb187cbb7d4e1abda30c335e99
refs/heads/master
2021-01-19T08:45:58.478857
2017-04-09T07:19:19
2017-04-09T07:19:19
87,672,189
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
"""skribblr_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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')...
[ "mhhoban@gmail.com" ]
mhhoban@gmail.com
9b34ab457f4794bb6e1f54543d0d87cd1e9e509b
38b9fa8384d8b852558fd79148e02ffa95447c12
/METValidator/python/metvalidator_cfi.py
e65c801aae2049967433e8a3689e2084a5acdf83
[]
no_license
mageisler/MyAnalyzers
5aa24a29945f19220c0ac03937b51164bd5aeaaf
dca0cbd2e01e3a31df7572d7ff7e6422083f3545
refs/heads/master
2016-09-05T18:26:52.723547
2014-01-29T08:44:42
2014-01-29T10:06:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
import FWCore.ParameterSet.Config as cms demo = cms.EDAnalyzer('METValidator' )
[ "mgeisler@cern.ch" ]
mgeisler@cern.ch
a3bea9cd17507051e84abafad2fbda57bfda2d5e
b34b6910a4d46fd38e25a64e885bd435ef02528d
/program3.py
a5000c285c9f5a7fbe7028352ef6eced67121c99
[]
no_license
Naush22/codekata
161c29da539a4d641108cc65086a3be8d7f795f6
7767c454353e7a86cf7da75fca6b315e159da032
refs/heads/master
2020-04-21T16:04:37.463247
2019-02-19T08:13:30
2019-02-19T08:13:30
169,688,880
0
1
null
null
null
null
UTF-8
Python
false
false
107
py
yz=raw_input() if((yz>='a'and yz<='z')or(yz>='A'and yz<='Z')): print("Alphabet") else: print("NO")
[ "noreply@github.com" ]
Naush22.noreply@github.com
ec45bb5ab5f0dc0c1d56e349ed7ea43b25cd7037
4066190a88d59b66a1a8712358992df3a3a35a8b
/tetris_v3/pygame_enums.py
bf2ac9a97891f3c215d60c0626b2854091774c54
[]
no_license
ReijoJaakkola/Pygame-Tetris
fbbff240e4f968b587e8811d93dc6206679266af
a9bf151fbddaff9270c94e96a7ecc3fcaf4e09a6
refs/heads/master
2021-07-12T15:20:29.445351
2021-07-10T10:11:07
2021-07-10T10:11:07
210,703,688
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from enum import Enum # Enum for the possible directions for the current piece. class Direction(Enum): RIGHT = 0 LEFT = 1 DOWN = 2 # Enum for the possible colors. class Color(Enum): GREEN = 0 RED = 1 BLUE = 2 YELLOW = 3 VIOLET = 4 # Enum for the possible shapes for the current piece....
[ "reijo.jaakkola@tuni.fi" ]
reijo.jaakkola@tuni.fi
4387be7e2c57b61f2b6431b23a407b8aa32b9082
94e1151d9a7f1a214ec3d4b282ce5ea7a43a93f3
/LSAs/RouterLSA.py
a74e0e5f63730a151f6e38031dcb3687cbd2d8ad
[]
no_license
andreppires/OSPF-ABR_ArbTop
c45e0a0e2c3f854bfe73b8f79e69e83339b66a75
93be7d9e737118ef04f818df634d0ad4f138d2a7
refs/heads/master
2021-07-03T00:00:42.025183
2019-02-20T23:37:10
2019-02-20T23:37:10
95,771,424
1
0
null
null
null
null
UTF-8
Python
false
false
2,500
py
import struct import utils from LSAs.LSAHeader import LSAHeader OSPF_LSA_ROUTER = "> BBH " OSPF_LSA_ROUTER_LEN = struct.calcsize(OSPF_LSA_ROUTER) OSPF_LSA_ROUTER_LINK_DATA = "> I I BBH" OSPF_LSA_ROUTER_LINK_DATA_LEN = struct.calcsize(OSPF_LSA_ROUTER_LINK_DATA) class RouterLSA(LSAHeader): def __init__(self,source...
[ "andre.pinheiro.pires@gmail.com" ]
andre.pinheiro.pires@gmail.com
de4f42e4dc390bf799a0d75d062b12372cbdba7c
27d7b9f1c88b85d524f94163648aa117d7b17a9b
/Face detector ,Motion detector and gaming programs/frame_diff.py
c628470459a7352ecdffe193aa20ab4ed76f2303
[]
no_license
DipeshDhandha07/Machine-Learning-Projects
a8658b788e49c6841f88fa51145c468dc217c44b
0e5164680798f2e0139e5082d5b7709cd4e2ae35
refs/heads/main
2023-07-26T03:19:39.461631
2023-07-24T06:35:57
2023-07-24T06:35:57
393,878,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
import cv2 # Compute the frame differences def frame_diff(prev_frame, cur_frame, next_frame): # Difference between the current frame and the next frame diff_frames_1 = cv2.absdiff(next_frame, cur_frame) # Difference between the current frame and the previous frame diff_frames_2 = cv2.absdiff(cur_frame,...
[ "noreply@github.com" ]
DipeshDhandha07.noreply@github.com
51924aaac8fe49727a533d4c2e7fe1f306daab0e
40bbf089bdd60e95e124bdf273f3d16480c9d568
/base/read_excel.py
b26ee43e880c5f249e194e28f182e0463c9cd409
[]
no_license
wulimin523/webAutoTest
0449f61a7b3ea7e457923ff181ab4f6922604f5d
a5d7a57edf70de79c1b6f008be8027fd670fd98a
refs/heads/master
2023-02-19T04:24:51.813719
2021-01-18T09:20:13
2021-01-18T09:20:13
327,577,360
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- """ ------------------------------------------------- # @Project :webAutoTest # @File :read_excel # @Date :2020/12/31 18:07 # @Author :吴利民 # @Email :wulimin523@163.com # @Software :PyCharm ------------------------------------------------- """ import xlrd import config data = xlrd....
[ "wulimin523@163.com" ]
wulimin523@163.com
452d5370d5e9797725db180985a3c061d18c0bd8
16121595581229e6666bfc52cdd526d7451a4c15
/ideas/misc/strange_idb/dev/helper.py
65f02bd61edee200c3606c7abfefb3baff4e06da
[ "MIT" ]
permissive
HackerDom/ctfcup-2019-tb
c78a69cf4b95339048f7d44ce3a40561d6e56ca0
b10f887a5cebfd311fd6577973a5381ac45594d6
refs/heads/master
2020-09-21T19:47:36.291637
2019-12-02T08:59:21
2019-12-02T08:59:21
224,905,498
5
2
null
null
null
null
UTF-8
Python
false
false
3,849
py
import binascii a = {0x0: 0x2055, 0x1: 0x4084, 0x2: 0x4088, 0x3: 0x408c, 0x4: 0x4090, 0x5: 0x4094, 0x6: 0x4098, 0x7: 0x409c, 0x8: 0x40a0, 0x9: 0x40a4, 0xa: 0x40a8, 0xb: 0x40ac, 0xc: 0x40b0, 0xd: 0x40b4, 0xe: 0x40b8, 0xf: 0x40bc, 0x10: 0x40c0, 0x11: 0x40c4, 0x12: 0x40c8, 0x13: 0x40cc, 0x14: 0x40d0, 0x15: 0x40d4, 0x16...
[ "revervand@MacBook-Air-Anon.local" ]
revervand@MacBook-Air-Anon.local
6f6e10881068b659801fd52a1403787fb8c14723
9be00f2d22ad6594b278a2c47845c9f6315463ad
/category/migrations/0004_auto_20191118_0617.py
65bffd05c400479974d49dc79e0c2d4ce98473f3
[]
no_license
RanaFrazKhan/KingBestMallBackend
207e66b3acc1f7f6fd0dcbf9e7cfe33f49a93f64
570032c625ffbaf51ac62585b4f8a6b81f3abb21
refs/heads/master
2022-03-16T02:10:13.716275
2019-11-27T13:48:23
2019-11-27T13:48:23
224,174,473
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# Generated by Django 2.2.6 on 2019-11-18 06:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('category', '0003_auto_20191118_0520'), ] operations = [ migrations.AlterField( model_name='sub_...
[ "rana.faraz@brainplow.com" ]
rana.faraz@brainplow.com
be45ca90af900d93250db15965ddd47db514bb0b
4388363ba45b95910c25bae3d9c02ad78f4a75d6
/python/anaconda/pkgs/notebook-5.0.0-py27_0/bin/jupyter-serverextension
667d4d4d9ba8d68af1c25ae696d1f3e047806c81
[]
no_license
locolucco209/MongoScraper
d494e02531f4f165b1e821633dc9661c579337b5
74476c9f00ee43338af696da7e9cd02b273f9005
refs/heads/master
2022-11-25T19:09:27.248747
2018-07-10T03:54:06
2018-07-10T03:54:06
137,553,786
3
1
null
2022-11-16T04:32:26
2018-06-16T04:49:22
null
UTF-8
Python
false
false
173
#!/opt/anaconda1anaconda2anaconda3/bin/python if __name__ == '__main__': import sys import notebook.serverextensions sys.exit(notebook.serverextensions.main())
[ "lukemassetti@WestSide-Luke.local" ]
lukemassetti@WestSide-Luke.local
2741d5264563affb353f6ae75f914192654b32cd
2a43932e2248f209ca995f143d49cb66dbcc86dd
/SSG_client/matfyz/nswi177/my_ssg.py.save
2596e398997bd1dace801ec29da4a1a3f789a430
[]
no_license
dominikrathan/Python
4a7fc4257be37e0ee4ce7fbc709612d293f25809
660a3138dd810208a20c922659422a1830e502b7
refs/heads/master
2022-11-12T04:21:24.295423
2020-07-02T11:47:00
2020-07-02T11:47:00
276,628,376
0
0
null
null
null
null
UTF-8
Python
false
false
4,358
save
#!/usr/bin/env python3 """ my_ssg - My simple static site generator for the NSWI177 course at MFF CUNI. """ import argparse import os import pathlib import sys import matfyz.nswi177.mdyml as mdyml import matfyz.nswi177.files as files def generate_one_file(template, all_pages, base_dir, input_filename, destination_...
[ "rathan.dominik@gmail.com" ]
rathan.dominik@gmail.com
8e7e5dc0a360e26ee19ed473db213ee94c8030d7
dc47a524573e143aeebe604edf632503b115516f
/src/learn/experimenter.py
6b51238404cdba0b053fd4bb78c061c237adac45
[]
no_license
bradcarter1994/trump-or-not-trump
186944ab6654964a0fc7b04abbdb96a63d46e4ef
2a5cb63e0691d40f879c1cd86eef01615c829472
refs/heads/master
2020-04-05T05:42:12.749392
2018-12-05T21:17:21
2018-12-05T21:17:21
156,607,037
0
0
null
2018-12-05T21:17:23
2018-11-07T20:55:10
Python
UTF-8
Python
false
false
480
py
import argparse class Experimenter: def __init__(self): pass def main(self): raise NotImplementedError def parser(self): parser = argparse.ArgumentParser(description='Machine Learning System Manager') parser.add_argument('-V', '--verbose', action='store_true', help='Print...
[ "bradcarter1994@gmail.com" ]
bradcarter1994@gmail.com
6a76881dceed0be75445a3cac3cb9816b26109b0
5228d0cfda662eb16b739a01690a6378436dc03b
/flow-builder.py
0e9fb1f0331ab40bde7ec5b13b8ec21587de7419
[]
no_license
vgthoppae/appflow-compliance
23fe7752adeaace34f72da367e3cce4a56df7a77
e6ff7e984fd5cbcccedde79b9e7d509da473c4b0
refs/heads/main
2023-05-10T04:33:29.230976
2021-06-01T12:44:01
2021-06-01T12:44:01
360,546,333
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
import json, boto3 client = boto3.client('appflow', region_name='us-east-1') flow_name = 'prod-flow' def build(): with open('config/source_config.json') as source_config_contents: source_config = json.load(source_config_contents) with open('config/dest_config.json') as dest_config_contents: dest_config =...
[ "venkat.thoppae@gmail.com" ]
venkat.thoppae@gmail.com
5b9e5d6d6c233fcacaf5dc6fbc9c4b12589fb903
daa2c79f7c774b287b71612b374bc5383f294193
/explore_dataset.py
7bb2838037ae938f8565d68d7aa51850caf5f2a7
[]
no_license
phuongdoviet/VCCorp20173_MiniProject
41b112bb2aea94aff57b0978f0c04c72bfefa16e
284950e37124b601a71874853b0421ea1dff2974
refs/heads/master
2020-03-26T15:42:03.560444
2018-08-16T12:12:09
2018-08-16T12:12:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
import os, time import numpy as np import pandas as pd import matplotlib.pyplot as plt import utils from preprocessing import FeatureTransformer if __name__ == "__main__": # Load data to explore training_file_path = "./Dataset/encoded_training_data_345.json" # test_file_path = "./Dataset/data_sent.json" ...
[ "quancq.it@gmail.com" ]
quancq.it@gmail.com
0005181720c920227c79102a8f0b946a124a3609
8552de797d96609b6ab306f0a30e0924d4da17da
/code/pather.py
d2b1bccf38e5246be4cce78b3893da57d6a44ec1
[]
no_license
YanB25/Snake
49235f150a66c57940028a2c4359d37954e13034
d8409888c416e77499ce509864274d05670409c9
refs/heads/master
2020-04-10T18:45:12.167093
2018-12-12T06:02:51
2018-12-12T06:02:51
161,211,494
2
0
null
null
null
null
UTF-8
Python
false
false
5,613
py
import json from snake import Snake from fruit import Fruit import queue import copy class PathSolve(): def __init__(self, snake, fruit, config): self.snake = copy.deepcopy(snake) self.fruit = copy.deepcopy(fruit) self.config = config width = int(config['window-width']) heigh...
[ "yanb25@mail2.sysu.edu.cn" ]
yanb25@mail2.sysu.edu.cn
9067ba5d706c78c3468b537a19d3d1530b92d744
1e420c670a8b457d4a046e4559a9e72bacb77572
/tools/initial_abundance/pinput_radii_reader.py
ea66fd6637c22b30fa0836f46f13a53fd98baa29
[ "BSD-3-Clause" ]
permissive
vishaltiwari/XNet
b213bb9cfcb60537eac98f08ceb990de1babc591
a7ad8d9a610edb1d522fef56b8ed1067fb39f30f
refs/heads/master
2020-06-07T09:13:44.373139
2019-06-28T00:13:27
2019-06-28T00:13:27
192,984,409
0
0
BSD-3-Clause
2019-06-20T20:36:56
2019-06-20T20:36:55
null
UTF-8
Python
false
false
572
py
def pinput_radii_reader(pinput_file): import numpy as np import imp #Read file of radii for each row of particles radius_pathname = pinput_file fradius = open(radius_pathname,'r') rad_list = np.loadtxt(fradius,skiprows=1,usecols=(0,)) with open(radius_pathname, 'r') as f...
[ "jaharris87@users.noreply.github.com" ]
jaharris87@users.noreply.github.com
52a78ecf355ee0e7f8b171659bee062669b20d41
20777c40d35fa4b9b535a76545c9300a57624657
/prediction_baselines.py
95d10e7bf50f75a78a65cd04667381f49fc9bbbb
[]
no_license
robsdedude/graph-pattern-learner
6e658a3a4c56bbdbcf26f4f128dd98b09629cca7
eb8ddd14732cd719e67a712c11b324152a41baa6
refs/heads/master
2021-06-20T04:34:42.452313
2017-06-07T22:20:51
2017-06-07T22:20:51
91,547,799
0
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
#!/usr/bin/env python2.7 # encoding: utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function from SPARQLWrapper import SPARQLWrapper from rdflib import URIRef from rdflib import Literal from rdflib import Variable from splendid import get_path import config f...
[ "dev@joernhees.de" ]
dev@joernhees.de
ce2c633262339c77e0699a3d819f196a5f81baa6
c9b0251fffad837bb39acb11760fd210b20a0454
/lib/blocks.py
ad1e802c7a9aadcde1eade9f238b3b982cb43ddf
[ "MIT" ]
permissive
jpinsonault/blocks
7ea9456318dab7453c96f9b87547c3297bbf3c0a
9e62012309aa3ccb291e31f01824c329c74bd165
refs/heads/master
2021-01-20T05:41:23.526762
2017-08-29T02:51:06
2017-08-29T02:51:06
101,465,050
0
1
null
2017-08-29T02:51:07
2017-08-26T05:34:02
Python
UTF-8
Python
false
false
3,469
py
import pygame from pygame.locals import * from random import randint import time ### Grid def create_grid(width, height, colors): column = lambda: [colors['grey']() for _ in range(width)] rows = [column() for _ in range(height)] return rows def move_to_pos(grid, row, column, creature, color_map): gr...
[ "ben@weaveup.com" ]
ben@weaveup.com
7179647af042fc71cb587a3d24047fe7ca109158
aad3b4ec3f36bb3ebb00288e77dc2dfbb9e72d78
/Baseball_Stats/Django_Stats/models.py
d4eca5458e9c432b4c996af88252b3f875471b92
[]
no_license
zseaborn63/Baseball
0430629be3c01f69d2901fb4f2fd4f4b5b28d9ec
3f2db5356befe6e7be8eb8d3c92d93a302c4134b
refs/heads/master
2021-01-10T01:49:17.791825
2016-02-19T17:13:27
2016-02-19T17:13:27
51,536,884
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
from django.db import models # Create your models here. class Player(models.Model): lahmanID = models.IntegerField() player_key = models.CharField(max_length=10) managerID = models.CharField(max_length=10, blank=True) hofID = models.CharField(max_length=10, blank=True) birthYear = models.IntegerF...
[ "zseaborn63@gmail.com" ]
zseaborn63@gmail.com
0052e5593e820026f416055ebfbc862c2af184f2
3c0508785ac17f1b48e385c6273a1e068130ceac
/user_items
0819be02cba3a0a57b326beaf5d28d2b71639c2a
[]
no_license
zhanchangbao/recommand-system
735430505897dc448ac76f015cd6160d86236e9d
5dc4d74b60cee0300961129b8b69f1c2df8c340d
refs/heads/master
2020-04-18T00:57:25.536076
2018-04-09T13:59:46
2018-04-09T13:59:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,176
#! /usr/bin/env python # -*- coding: utf-8 -*-#! #time:2018/2/9 ____author____= pengxiaoxin import pandas as pd import numpy as np import math from operator import * rating = pd.read_csv('C:\\Users\\Administrator\\Desktop\\movie-data\\ml-latest-small\\ratings.csv') #ratings.csv's columns are user,movieId,rating,tim...
[ "noreply@github.com" ]
zhanchangbao.noreply@github.com
3fbf9686fdab322a9bb64352bcb0e47b8d8ec3f1
61e82c9fd238483bceeae6670df2de6732daba21
/La_Course/src/Test_ing.py
049cd338a35b15340a3a7361593ecd6602c2d292
[]
no_license
h4r4ld-git/P1-A6
7b729462b09f0f6be96d0842d74d471994a6193b
90a3ebb736bfe65be55b0153758e60281dbc1aaa
refs/heads/main
2023-03-18T05:35:33.495972
2021-03-14T14:14:01
2021-03-14T14:14:01
345,929,532
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
import unittest import correct import student class TestLa_Course(unittest.TestCase): def test_La_course(self): a = "Luka: 14\nIsam :1\n6 : 001\nAwidYamak:7\Bouchlaghem : 9\n Ismail;7\njdef:zefezf\n4: Mohamed\nSaid?5\n\n\njkfjr\n54564\n'(-è: 2" i = "Ismail: 14\nIzadin :1\n6 : 001\nB...
[ "luka.chkoidze@student.uclouvain.be" ]
luka.chkoidze@student.uclouvain.be
ea1c10e06fee9d8a040e69ae1b16700b007c9f87
939266abe034b73c513b65b1d9d73167494655a8
/script_job_file_stage_plus.py
7c4589eca45b42f6c90c5b1278c8b9620ff59231
[]
no_license
pmbasene/xml_log
6bfbce24977c9e7eb51e9d2879b2ffcb6aec74a1
c73e018e9aba14a95e5b186d2ab80a9786ab754a
refs/heads/master
2020-07-23T09:48:11.791877
2019-10-10T09:46:17
2019-10-10T09:46:17
207,346,473
0
0
null
null
null
null
UTF-8
Python
false
false
25,343
py
#!/anaconda3/bin/python # coding: utf-8 import os from lxml import etree import xml.etree.ElementTree as ET import numpy as np import pandas as pd from pprint import pprint # import random # from XML_HANDLE import * from XML_HANDLE import Xml_logfile from clean_file import CleanFolder """ DESCRIPTION DES MODULES --...
[ "pmbasene@gmail.com" ]
pmbasene@gmail.com
16a9e29d931fdaa72f0e92f17d73fadeb046554d
33cc8b2684dddf64fb730f42bf90c0d3e0a4f1c6
/client/src/assets/papers/rename.py
bed4d7ee0dfbf0869efc2bc17fc43df3c64bba3c
[]
no_license
apujol09/NUIWebReact
1f74a9ed175babd304ab96c52ae0c9d12dac10a1
64598cd0ae1fa776615716aa607b0a30ac7d7c9d
refs/heads/master
2020-04-07T18:26:20.631019
2019-02-27T18:05:51
2019-02-27T18:05:51
158,610,159
0
1
null
null
null
null
UTF-8
Python
false
false
178
py
import os directory = 'D:/Repos/web2/assets/papers' [os.rename(os.path.join(directory, f), os.path.join(directory, f).replace(' ', '_').lower()) for f in os.listdir(directory)]
[ "apujo010@AD.CS.FIU.EDU" ]
apujo010@AD.CS.FIU.EDU
872d3a57cfcf35f46c151c463b307c38cb2f8821
4b1c693a6a18ac3856f2f855c15bb2c9bed90410
/quat2/actions.py
9837018b7316cef26cb34e41bd71d4753c7590f1
[]
no_license
mouboo/quat2
73cb06315400dd725bfd34dc13634f61366f8597
f5d0519d0279aff8d0e5069db6211200a1e8263f
refs/heads/master
2020-09-23T11:07:27.077622
2020-01-05T13:37:53
2020-01-05T13:37:53
225,485,097
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
#actions.py def cmd_help(args): if h == 'go': print("'Go' usage: go [to] <direction>") def go(args): print("You go to {}".format(args)) def inventory(args): s = '' for item in p.inventory: s += item + ', ' def look(args): pass
[ "peterkvillegard@gmail.com" ]
peterkvillegard@gmail.com
a3c0fb4b5518284323f259aefadfe664f7532bd1
6a44d6071d9bc632b234da40f04393ed05e5f9d5
/plugins/lektor-github/lektor_github.py
2feace77361dfc201bb51047a1139eb4e9799992
[]
no_license
zupo/seaintome
431d6533e4d8bcdd4a0eea3a5c210f26a7ed3477
37b9c49133173b2f6e531246a8f48432b5b0b718
refs/heads/master
2023-03-28T12:04:14.345668
2018-07-03T17:02:47
2018-07-03T17:02:47
98,026,930
0
0
null
2021-03-25T21:32:43
2017-07-22T11:26:07
CSS
UTF-8
Python
false
false
822
py
from __future__ import unicode_literals from lektor.publisher import Command, Publisher from lektor.pluginsystem import Plugin class GitHubPlugin(Plugin): name = 'GitHub' description = 'Support for pushing changes to GitHub.' def on_setup_env(self, **extra): self.env.publishers['github'] = GitHub...
[ "nejc.zupan@gmail.com" ]
nejc.zupan@gmail.com
dbad2d478c3ae3f0a07b7d0bbc72a1c1d30c8325
9bd270e6713ef7f4f887ff8413d6b94d314849a1
/10. Raspberry Pi/9.LED Button time increment.py
d6e561482651a40a6ddad13cea7c18d0ba0e2ef4
[]
no_license
dongryoung/Class_Examples
ab0242dde514ab72f1d8088cf0698693fb36d665
90040f40742d9bf8d8030388cec24bc548ae9c92
refs/heads/master
2023-04-10T20:37:01.794232
2020-07-29T03:56:24
2020-07-29T03:56:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
#버튼 한 번 누를때마다 #LED 켜지는 시간 10초씩 증가 import RPi.GPIO as GPIO import time led_pin = 7 pushButton_pin = 11 GPIO.setmode(GPIO.BOARD) GPIO.setup(led_pin, GPIO.OUT) GPIO.setup(pushButton_pin, GPIO.IN) led_on = False #초기 LED 상태 pressed = 0 #버튼 상태 (눌림: 1, 안눌림: 0) start_time = 0 #처음 버튼이 눌린 시간 remain_time = 0 #LED 불 남아 있는 시간 ...
[ "noreply@github.com" ]
dongryoung.noreply@github.com
f9fe4c293d98a8c59e1a94cc7dfdb508f86e3d8b
6b2d5488cc8a06cab81c1524bb14c347f3bf015a
/multiflood_python/bin/pyreverse
2100194fbe0033c18d4e3ba098107366aff70d65
[ "MIT" ]
permissive
devanshk/MultiFlood
b169c47afc402afc5cbe9f139f9887d9c6bc2df1
73f8e40beeec9f818b8419b7ef4db6121a60b709
refs/heads/master
2023-02-23T04:12:55.395589
2021-01-25T01:01:16
2021-01-25T01:01:16
299,680,934
2
1
MIT
2020-12-28T20:26:00
2020-09-29T16:52:33
TypeScript
UTF-8
Python
false
false
267
#!/Users/jay/Documents/MultiFlood/multiflood_python/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pyreverse if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_pyreverse())
[ "koolguru2@gmail.com" ]
koolguru2@gmail.com
ef62ce3eb7ac8f03084c6369bbcb145a4ad9648c
8ea7912401d3f609765738f38b44561e4b2dbd5f
/sshmng/cli.py
9d70863d14a9860279cc7888b1e7e3018843920e
[ "MIT" ]
permissive
zeroam/sshmng
1b46099ef6d9b174e7debf64e35663c6998b01c9
c3b705aeb6b086ec02664e74a31650ec2ffc41f6
refs/heads/master
2023-03-15T13:52:02.056589
2021-03-22T12:16:32
2021-03-22T12:16:32
343,767,017
1
1
MIT
2021-03-22T12:16:33
2021-03-02T12:29:04
Python
UTF-8
Python
false
false
3,630
py
"""Console script for sshmng.""" import os import sys import click import subprocess import tempfile from pathlib import Path from pprint import pprint from sshmng.repo import Repo @click.group() @click.option("--debug/--nodebug", default=False, envvar="SSHMNG_DEBUG") @click.pass_context def main(ctx, debug): ct...
[ "imdff0803@gmail.com" ]
imdff0803@gmail.com
422920aa326471336694645680d370c24a513dd2
78d86701e3406750c712e22b4883d70063025659
/bert_lightning_adapter.py
ce15942c06c266924ed254ec7f3b7768521028df
[]
no_license
jq8205/qa-for-ta
44d8cf97afab5426930a556aabf4b323fd7afe2b
f83de4152672962f5a5c449bdb5327bbba7f2839
refs/heads/master
2022-11-16T22:53:09.632515
2020-07-07T01:30:43
2020-07-07T01:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,909
py
from typing import Dict from collections import OrderedDict from functools import partial import lineflow as lf import lineflow.datasets as lfds import lineflow.cross_validation as lfcv from lineflow.core import lineflow_load import torch from torch.utils.data import DataLoader, ConcatDataset import pytorc...
[ "noreply@github.com" ]
jq8205.noreply@github.com
ce1097d24dcb81d3104358d7723a962b1be9dccb
69b98035ededca206f7139ec68d61aaca74f7f1f
/src/lidar_odometry_and_mapping/src/gnss_ins_sim/src/recorder_node_allan_variance_analysis.py
f94fa2138a08164344cfd0fe56bfa08ecc701e7e
[]
no_license
xiekunpeng0379/SensorFusion
69378ad1077b8769566ea05b5c4b3c359ec3252d
fbd1ddeb55c610714b456be76bc501efac86344e
refs/heads/main
2023-04-08T12:34:03.059967
2021-04-18T06:23:58
2021-04-18T06:23:58
483,066,678
1
0
null
2022-04-19T02:26:05
2022-04-19T02:26:05
null
UTF-8
Python
false
false
7,205
py
#!/usr/bin/python import os import rospkg import rospy import rosbag import math import numpy as np from gnss_ins_sim.sim import imu_model from gnss_ins_sim.sim import ins_sim from std_msgs.msg import String from sensor_msgs.msg import Imu from nav_msgs.msg import Odometry def get_gnss_ins_sim(motion_def_file, fs...
[ "uupks0325@gmail.com" ]
uupks0325@gmail.com
1fac3d7e1d754ceccd22e2a44d7aa79d21809451
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-4739.py
d5abb8e7fb73baa88a694920865ec11d866b424b
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,292
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
cedf0f9f7e4a3f3e462c9ece960b06285598723e
e2ab8200b81d7c3d5b0f6bd090aa8c587fe8ae35
/insertsort.py
41eec2659a0c786f4bb9dc5033a3b37c723407a1
[]
no_license
Ananth-Adhikarla/Python-Programming
d13c320e5d23407acc62842848975051fde2057b
b3b03dac771c3c6337c1cd5016ce4f8826e1058d
refs/heads/master
2020-03-12T04:54:55.975415
2018-04-21T08:13:06
2018-04-21T08:13:06
130,453,799
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
""" Insert Sort """ def insertion_sort(nlist): for i in range(1,len(nlist)): temp = nlist[i] j = i while( j>0 and temp < nlist[j - 1]): nlist[j] = nlist[j-1] j -= 1 nlist[j] = temp return nlist l = [1,3,5,7,4,2] print("Original List : ",l) print("After insert sort ", insertion_sort(l...
[ "ananth.adhikarla@gmail.com" ]
ananth.adhikarla@gmail.com
9a0c824e0a63c04fd42985900a538f7a3e5a1ed2
5af277b5819d74e61374d1d78c303ac93c831cf5
/bisimulation_aaai2020/dopamine/rainbow_agent.py
7c9a614beabc4a088e107685b25a5c86d430673c
[ "Apache-2.0" ]
permissive
Ayoob7/google-research
a2d215afb31513bd59bc989e09f54667fe45704e
727ec399ad17b4dd1f71ce69a26fc3b0371d9fa7
refs/heads/master
2022-11-11T03:10:53.216693
2020-06-26T17:13:45
2020-06-26T17:13:45
275,205,856
2
0
Apache-2.0
2020-06-26T16:58:19
2020-06-26T16:58:18
null
UTF-8
Python
false
false
18,472
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
f31df43de849fa6395cf5ea42e6c2ee9f3772cbf
553daabc841cc19d0729880e2624bdaaa2b8219a
/problem_109/problem_109.py
7a9f6e85d38de529b83b5d9dcb78fe4cff653807
[]
no_license
yuhlearn/project_euler
ed915b426a6c7d3de8d165165749cae97e4dd156
83bd0713994bea1745540855bb4141e4b91308a6
refs/heads/master
2021-10-10T00:52:11.537263
2021-10-07T07:40:22
2021-10-07T07:40:22
122,016,990
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
values = [ 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8, 9, 9, 10, 10, 11, 12, 12, 12, 13, 14, 14, 15, 15, 16, 16, 17, 18, 18, 18, 19, 20, 20, 21, 22, 24, 24, 25, 26, 27, 28, 30, 30, 32, 33, 34, 36, 36, 38, 39, 40, 42, 45, 48, 50, 51, 54, 57, 60 ] doubles = [ 2, 6, 9, 13, 17, 20, 24, 28, 31, 35, 37, 38, 41...
[ "reeves.max@gmail.com" ]
reeves.max@gmail.com
f080048d5c41225d37ffd5e330c98243d87982c8
4e0f79fbc1d3a090a5c7f633f360e41514e1fad9
/election_by_state.py
bca072ca5f2123d1a2949f92a8675c3f2fab8258
[ "MIT" ]
permissive
powergascan/mod3-hypothesis-testing
3b9d6db874755b928aacccba053125b224fc044a
f529e02463b33f9f20657c7e7c3eb249477622ff
refs/heads/master
2020-07-08T07:50:34.839721
2019-08-25T01:52:01
2019-08-25T01:52:01
203,608,883
0
0
MIT
2019-08-25T01:52:02
2019-08-21T15:06:50
Jupyter Notebook
UTF-8
Python
false
false
986
py
import pandas as pd def DT_Effect(election_data, labels=['US Blue','US Red']): election_data=election_data[election_data['year'].isin([2012, 2016])] election_data=election_data[election_data['party'].isin(['republican'])] election_data.sort_values(['state_po','year'],inplace=True) election_data['Vote_P...
[ "powergascan@gmail.com" ]
powergascan@gmail.com
b4713a8a30c7c5bf5f3f25909e5870277470c208
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_196/ch79_2020_04_07_01_22_28_765152.py
c9ba46f971fba6baced161e18915f79d3384d840
[]
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
106
py
def monta_dicionario(a,b): for i in range (len(a)): print {a[i]: b[i]} return {a[i]: b[i]}
[ "you@example.com" ]
you@example.com
1e0e6b3ba1be9373e3fdbe2a95120a7d459522d2
95b119cf752125f1c783267d385dae89ac8e29a1
/trees/tree-level-order-traversal.py
08b86a3e1871cb2fe97cd8834d7f1fb89e4bd0a3
[]
no_license
hanksudo/hackerrank
037496b78acc5d41fb2ef9198d45f567409bce15
f529fddb5c01e8b10203b043a033e20aeeee8e2d
refs/heads/master
2022-05-01T19:24:02.966337
2022-03-15T13:39:05
2022-03-15T13:39:05
234,511,679
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
class Node: def __init__(self, info): self.info = info self.left = None self.right = None self.level = None def __str__(self): return str(self.info) class BinarySearchTree: def __init__(self): self.root = None def create(self, val): if self.root...
[ "drapho@gmail.com" ]
drapho@gmail.com
31af1ed2e3cab55ea4a1708340ded06d077d9a47
dd72bd5a699cfabb400dca6528816c74795cc208
/accounts/models.py
2eb405e18006395295656571364db9c4efb79ecb
[]
no_license
Francis-Ebere-Emeafu/donations
1d6889a58ce989ab6447cb3b90ee4c933415a097
702eb09bae5f3f38a3cab981004a4f5f0d88be63
refs/heads/master
2023-02-18T18:37:19.631418
2021-01-21T01:31:05
2021-01-21T01:31:05
331,082,795
0
0
null
null
null
null
UTF-8
Python
false
false
3,860
py
from __future__ import unicode_literals from django.contrib.auth.models import User from django.db import models from django.utils import timezone # Create your models here. class Membership(models.Model): name = models.CharField(max_length=100) description = models.TextField(blank=True) dues = models.Dec...
[ "freemandigits@gmail.com" ]
freemandigits@gmail.com
13edb85f07a2b7803336ad1485f6102d93b4bc74
eebf2e3578ccb79147c3f5c21438e4296f773a89
/pytorch-cifar/models/.ipynb_checkpoints/resnet-checkpoint.py
ca9d4bdb7e89e3e31155d17be75606b494630122
[ "MIT" ]
permissive
minoriwww/waterquality
336dbe4ecd2b382669be0e777aec3a83e3d3138c
97db2406c37295dfdea5d2e006611243bd7ca01d
refs/heads/main
2023-03-22T05:24:41.153869
2021-03-09T06:44:12
2021-03-09T06:44:12
345,905,665
0
0
null
null
null
null
UTF-8
Python
false
false
4,263
py
'''ResNet in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' import torch import torch.nn as nn import torch.nn.functional as F class BasicBlock(nn.Module): expansi...
[ "dltdc@gpu12.ttic.edu" ]
dltdc@gpu12.ttic.edu
b6d9f7d19b82b9b6caf04f24e684f12677eb8384
bb8acf1eef4c746a220dd94be0f9d8af42ac6f27
/cad_python_Ext/MyLayers/structured_gate_action.py
d494109c4a66da8b949a2c6acd9ca352ea666716
[ "Apache-2.0" ]
permissive
Lucas2012/simplified-SIM-structure-inference-machine
4342efa9f779c1e4fc15610ce8fbe76eaa7783dd
45998fd52ed19753ed0c8c3658cde7e3d964218c
refs/heads/master
2021-10-24T07:20:04.420140
2019-03-23T06:06:22
2019-03-23T06:06:22
43,234,820
3
1
Apache-2.0
2019-03-23T06:06:23
2015-09-27T04:51:43
Jupyter Notebook
UTF-8
Python
false
false
6,905
py
import unittest import tempfile import os import numpy import caffe class structured_gate(caffe.Layer): """A layer that initialize messages for recurrent belief propagation""" def setup(self, bottom, top): self.nScene = 6 self.nAction = 6 self.nPeople = 14 self.K_ = 0; ...
[ "zhiweid@sfu.ca" ]
zhiweid@sfu.ca
6915850a16fdfc44342600508b47769fafc8541e
be5bcff6544928bdbb7501f778ddbee11d589235
/dataScripts/xls_files_to_csv.py
68e0b868f170cf4936f8f5238eb10c1da75f783f
[]
no_license
Armadindon/PythonData
7441c2235861d9bb0a0acf72d38f5dfb91c225af
23127c80eb2b5f91d4760dac7eb7dbddb4bc67c5
refs/heads/master
2023-02-17T21:44:14.492906
2021-01-17T16:02:39
2021-01-17T16:02:39
309,948,480
0
0
null
2021-01-08T13:55:28
2020-11-04T08:59:43
Python
UTF-8
Python
false
false
3,790
py
""" Script permettant la conversion de fichier xls (Excel) vers csv pour la lecture avec la librairie pandas """ import os import csv import xlrd def conversion_num_dept(code_dept): """ Convertit un département au bon format Args: code_dept (str): Code du département à convertir. Returns: ...
[ "baptisteperrin77@gmail.com" ]
baptisteperrin77@gmail.com
2aef48d1aa8dec4012fd07f8560afbd4b24fafeb
540df8592749de8e9dc429ad7f5365238bc850c4
/4.Practice.py
92048ad37ad116409215419c025814de2a84d9bd
[]
no_license
2anirban/heroku_demo
f50bc10c348030d52e2f5ec1c0bd47e3162474ce
da52bdf5cfea21e98f5b4d9b4868ab1985c7eaa2
refs/heads/main
2023-04-08T13:50:20.071207
2021-04-29T15:15:34
2021-04-29T15:15:34
362,854,758
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd import pickle dataset = pd.read_csv('hiring_1.csv') print(dataset) dataset['Experience'].fillna(0, inplace=True) dataset['test_score'].fillna(dataset['test_score'].mean(), inplace=True) X = dataset.iloc[:, :3] ###Converting words ...
[ "noreply@github.com" ]
2anirban.noreply@github.com
c796416794b9fa7de79303f934efe14617e7f2da
d75b1b88ef64786498ad257a9a6d12c01a3f8cd2
/certif_page/models/Token.py
0c7e80d08532c62cb8a903f691e718a0a23632d7
[ "Apache-2.0" ]
permissive
xSandie/schoolCertif
9d8928efbbb134aa4139dad00dc5b4cfd93affab
df5e235305886a0f110cc5d507d863c89df56e57
refs/heads/master
2022-12-15T11:41:55.119178
2019-07-02T14:59:39
2019-07-02T14:59:39
157,819,681
0
0
Apache-2.0
2022-12-08T04:54:33
2018-11-16T05:56:37
Python
UTF-8
Python
false
false
465
py
from certif_page.models.base import Base, db class Token(Base): id = db.Column(db.BigInteger,primary_key=True, autoincrement=True) value = db.Column(db.String(140), index=True, nullable=False) limitPerDay = db.Column(db.Integer,default=80000)#日限额,默认300000次一天 status = db.Column(db.SmallInteger,default=...
[ "sandiexiang@foxmail.com" ]
sandiexiang@foxmail.com
58f5ebbdecaff2dbcb6be1432c7638d04fefd5ef
e733d07a1492f6e9b762d9ca496ec59668aedb95
/qcloudsdkbmeip/EipAclBmApplyRequest.py
bf62678e2db69b2618ca2c58f848c0db67259c13
[ "Apache-2.0" ]
permissive
QcloudApi/qcloudcli
1f67d8467b81ac8964362491cd4f3104f8e59161
ba16161f65df5f621d9f1c5587b9900dca600cb5
refs/heads/master
2023-08-15T01:51:05.236254
2018-07-11T08:07:29
2018-07-11T08:07:29
100,922,202
8
6
null
2018-03-29T11:57:26
2017-08-21T06:55:45
Python
UTF-8
Python
false
false
565
py
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class EipAclBmApplyRequest(Request): def __init__(self): super(EipAclBmApplyRequest, self).__init__( 'bmeip', 'qcloudcliV1', 'EipAclBmApply', 'bmeip.api.qcloud.com') def get_aclName(self): return self.get_params()....
[ "zhiqiangfan@tencent.com" ]
zhiqiangfan@tencent.com
6d8c6af32fef5c9cfcf561b7acdec6ef6048243d
a841be002c03abcf03c875ba8cde5ab28e34de79
/Toxic/bayes.py
091fd7c3353edb719c46586b1307c12837209117
[]
no_license
PForet/Kaggle
a7a89e02be0f980671b6c4393c7dc0cf9ac7348a
c970708cb975d234f2b8b664e5bdc0bab9758d61
refs/heads/master
2021-05-15T12:17:31.756098
2018-01-05T16:05:06
2018-01-05T16:05:06
108,417,092
0
0
null
null
null
null
UTF-8
Python
false
false
3,617
py
from utils import load_dataframes, _all_labels, remove_non_strings, dict_to_submit import numpy as np import re, string from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer from sklearn.model_selection import train_test_split #from sklearn.naive_bayes import MultinomialNB as model from skl...
[ "noreply@github.com" ]
PForet.noreply@github.com
304752a2b7b71e334f306da10f61daa8c1aa16d8
cb34657f22bd7754aa1c9e134e06c73bf91c4cde
/sv94.py
b52636aa738a900dab5027440399a0c92af209bd
[]
no_license
varsha126/varshaguvi
4cf4b0b4d25264340ee23e5d968a8403eab3d33a
ea624a972c0d8b84d7f6081cf789eca35a4d6e81
refs/heads/master
2020-06-07T17:04:45.831040
2019-08-04T02:44:45
2019-08-04T02:44:45
193,061,419
2
4
null
null
null
null
UTF-8
Python
false
false
28
py
nvn=input() print(ord(nvn))
[ "noreply@github.com" ]
varsha126.noreply@github.com
e1c7ce2caac30bd082b0767f7ae4434eb4acc734
7b35e24e1164a5356b37e1e705c0d5e08540157f
/src/cnn_mod_cla.py
ca95ee390904620f6295db82ec40a7c39203b272
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
Lighting-Zhu/py-radio-autoencoder
6fe341fea3e96f13499571c9c65ef95104211924
842cd1f14a17ee0798766dffcf132950a9e745bd
refs/heads/master
2023-07-02T00:14:35.491304
2021-08-09T04:57:02
2021-08-09T04:57:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,078
py
import tensorflow as tf from tensorflow.keras import layers, Model, Sequential def cnn_mod_cla_2d(in_shape, class_num): '''2是(mod, snr)''' input_tensor = layers.Input(shape=in_shape, dtype='float32') x = layers.Conv2D(filters=128, kernel_size=8, padding='valid')(input_tensor) x = layers.ReLU()(x)...
[ "whw0315@gmail.com" ]
whw0315@gmail.com
b9da5c9c9860ad4abda5235757331a6bd4a6f19b
3e2447737acc8e6bef6728b1a8e5f1d5e6db2968
/opennem/spiders/wem/__init__.py
d55ac53eb10d2c124149c65b442bb414f607efbd
[ "MIT" ]
permissive
gaslitbytech/opennem
5a5197003662725ccd2f82d790cdb1495a975a07
deec3e2079db9d9d84171010fd0c239170d1e7ce
refs/heads/master
2023-07-23T14:08:28.949054
2020-10-09T03:53:20
2020-10-09T03:53:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
import logging from datetime import datetime import scrapy from opennem.pipelines.files import LinkExtract from opennem.pipelines.nem import ExtractCSV from opennem.pipelines.wem.balancing_summary import WemStoreBalancingSummary from opennem.spiders.dirlisting import DirlistingSpider def get_date_component(format_s...
[ "nc9@protonmail.com" ]
nc9@protonmail.com
ea27dda43f6f92c519b2d4f892418fabf50c910a
be6bba1b253552aca871c1f6b005f880fe3ee637
/tax_calculator/controllers/register_all_controllers.py
76500bd9977c79c4314c4b48e549b8bb199f00cf
[]
no_license
kadekutama/TaxCalculator
fd116075aeb5cafad52d8f22e4a7aa942c7a02de
51eb4ba16685325d183ca4fe0ba16dbd4f4c1317
refs/heads/master
2021-07-05T12:22:20.719561
2020-09-08T18:23:40
2020-09-08T18:23:40
177,821,898
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from .products import * def register_routes(app): app.add_route(index, "/", methods=["GET"]) app.add_route(get_all_products, "/get_all_products/<mode>", methods=["GET"]) app.add_route(get_bill, "/get_bill", methods=["POST"])
[ "kadekdwibudiutama@gmail.com" ]
kadekdwibudiutama@gmail.com
72b2936601244a9d25293638394d04fed8cfece3
836ea2055f7d7b73ef1c970268801884799d8f59
/lib/risksense_api/__subject/__application_findings/__init__.py
736e0937bf1eca346b873459234d4b34694cd17f
[ "Apache-2.0" ]
permissive
mtornga/risksense_tools
aee3ee71597712077cd67406c38b4e2087444b55
1564cd93505a4d4ccd546f68310e0a09f888e590
refs/heads/master
2023-05-14T15:26:00.912692
2021-06-09T00:03:42
2021-06-09T00:03:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
""" ******************************************************************************************************************* | | Name : __init__.py | Description : Application Findings | Project : risksense_api | Copyright : 2019 RiskSense, Inc. | License : Apache-2.0 (https://www.apache.org/licen...
[ "burr.webb@risksense.com" ]
burr.webb@risksense.com
b056ae7c81d4aeb266972e6bf0ec2b8a88e4a3bf
bed2fb940e90ef573a047aee5f5154ccca4a1c13
/scripts/doppler_sim/dopsim.py
411ca9f70e6f2658af442196641b39df9ccdba85
[]
no_license
dcoder-mm/heli-shadow-supplementary
045f387b64d596e3356c6c566384e7cd3d7899ff
fac9e6277dfb091e5ee004a8dbde51269a473508
refs/heads/main
2023-06-27T15:51:15.883570
2021-08-02T01:59:11
2021-08-02T01:59:11
391,168,015
3
0
null
null
null
null
UTF-8
Python
false
false
4,790
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import numpy as np import matplotlib.pyplot as plt from scipy.io import wavfile from scipy.signal import sweep_poly from PIL import Image, ImageDraw # Ground truth from https://mars.nasa.gov/mars2020/mission/where-is-the-rover/ meters_per_pixel = 50/167 rover...
[ "dcoder.mail@gmail.com" ]
dcoder.mail@gmail.com
baae253d96fb13826c09de4bf5fcd9dc7272919d
73cd7ebe847adf267a3f9d9a5176d1421e1e93b3
/Exercises/testExercise.py
196c5d1c8ba800165629fa706fb02aac23b583e2
[ "MIT" ]
permissive
davidavg/OOP_Python
4658b891b6a27397751072f54e621614c7b5ae87
ca4e8376a50b9c81b5ac18c466bd8d147bdbe679
refs/heads/master
2020-05-25T07:13:15.737224
2019-05-20T17:15:48
2019-05-20T17:15:48
187,681,035
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
''' Created on Nov 05, 2018 @author: jose aperez ''' #import abstract library from abc import abstractmethod, ABC 'Class Declaration Person' class Person(ABC): 'Constructor declaration' def __init__(self,name): 'Class variables' self.name = name 'Method talk' ...
[ "david avalos@tiempodevelopment.com" ]
david avalos@tiempodevelopment.com
6b200f1ece1ee35292f0e8cd767179a1932d439b
bb21604fde22e52d9136c95569d469316dc1b3a9
/blog/admin.py
2eecbd25abc3cefa7adf6b8d74ac0271a5878fa9
[]
no_license
MerryPoppins92/django-blogphoto
7be47ad6893cdba30e89b8787c0bf2514cb74505
62f7f1f2019f4c49aaa7c20171f9900a9cfe8719
refs/heads/master
2023-01-18T17:15:11.064804
2020-11-20T14:08:40
2020-11-20T14:08:40
297,322,851
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
from django.contrib import admin from .models import Blog, Blogbuster admin.site.register(Blog) admin.site.register(Blogbuster) # Register your models here.
[ "merry2lassus@gmail.com" ]
merry2lassus@gmail.com
3f099eee1f57de1fb0b2421f2f6f6a424b5ca067
d6d0b175251e8bce792381b5c8140c1e64154e66
/aliexpress.py
21ae2e9046621f9cc5df91ba94fea292b99ee973
[]
no_license
AURZeeshan/Practice
4724711ef5443120a81fe676a3a2bd6a4ed464fb
3a9fbfb6a49f51d1aff483211b9f2c9050f46ae8
refs/heads/master
2023-02-15T11:11:00.093950
2020-12-14T16:50:45
2020-12-14T16:50:45
321,410,074
1
0
null
null
null
null
UTF-8
Python
false
false
6,132
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import os import urllib import urllib.request import time import pandas as pd import csv import random from os import name, system # Current Working directory or root_dir current = os.getcwd() # image name and root_dir global var direc = "...
[ "zk40003@gmail.com" ]
zk40003@gmail.com
31cacf2f4017c05027b72b80151b2a4900c83bcb
b223a4176da6e9510175929ac049d1990b3cbedf
/blogs/blog/templatetags/blog_tags.py
bac880b5161099028b05fcf73a7a7d422b8ce2d0
[]
no_license
DewangYang/Blogs
3ff81ceedcf31a458629a1de8d94a10feca1934b
cc15a6d3da376e49cee2babc9bf9ca75fceecc31
refs/heads/master
2020-04-09T21:22:39.743400
2018-12-06T01:38:01
2018-12-06T01:38:01
160,598,869
2
0
null
null
null
null
UTF-8
Python
false
false
766
py
from django import template from django.db.models.aggregates import Count from ..models import Post, Category, Tag register = template.Library() #最新文章模板标签 @register.simple_tag def get_recent_posts(num=5): return Post.objects.all().order_by('-created_time')[:num] #归档模板标签 @register.simple_tag def archives(): ...
[ "1697755202@qq.com" ]
1697755202@qq.com
76b217501082a69184f849b87695f10f5261347c
3d68b35626311dacee3bb1b1b830d430c7d33a4e
/Code-part1/plot/gainloss_plot.py
ef10191cb357af28edef409fdeee6e05db530828
[]
no_license
Jal-ghamdi/INFS7410
b6709e8137357293fa644d9033343437424a22e5
01ac6fb34a440db0b4e5c54f3b292c24d7aa9eda
refs/heads/main
2023-06-04T18:44:57.416078
2021-06-19T06:53:15
2021-06-19T06:53:15
378,132,194
0
1
null
null
null
null
UTF-8
Python
false
false
877
py
import sys import matplotlib.pyplot as plt import numpy as np from trectools import TrecRes if __name__ == "__main__": if len(sys.argv) < 5: print("not enough arguments specified") sys.exit(1) fname1 = sys.argv[1] fname2 = sys.argv[2] measure = sys.argv[3] output = sys.argv[4] ...
[ "ijawaher.a.al.ghamdi@gmail.com" ]
ijawaher.a.al.ghamdi@gmail.com
b5a6a0a6412e193f6feab24d96c611f4ca9a46d9
4738ab5811476237576fa5cabce548c50940e8a7
/day 9/untitled1.py
c20f422b24a215fef9f4401d040464cb654b9065
[]
no_license
vijayshersiya/pythoncodes
0b1d9b4839b2ff495358d53fe374dfdce3180f78
38c70d73e28d388a9a4dda4a6492ce5880c1d198
refs/heads/master
2020-05-24T07:16:23.929640
2019-05-17T07:26:36
2019-05-17T07:26:36
187,155,984
1
0
null
null
null
null
UTF-8
Python
false
false
1,562
py
# -*- coding: utf-8 -*- """ Created on Thu May 16 11:43:01 2019 @author: Vijay """ """ Code Challenge 2 Perform similar steps as in the above code challenge but store the contents in an online mongo atlas database """ import pymongo #import dns # required for connecting with SRV #client = pymongo.MongoClient("mongod...
[ "vijayshersiya1997@gmail.com" ]
vijayshersiya1997@gmail.com
9828e3bacaa6964bc3c123c316e9e504fce3dc5a
674f5dde693f1a60e4480e5b66fba8f24a9cb95d
/tests/armv6_tests/opcode_tests/test_mul.py
6858af0a7cb71951d5fbb8f90d2ebe8a80622ddd
[ "MIT" ]
permissive
matan1008/armulator
75211c18ebc9cd9d33a02890e76fc649483c3aad
44f4275ab1cafff3cf7a1b760bff7f139dfffb07
refs/heads/master
2023-08-17T14:40:52.793120
2023-08-08T04:57:02
2023-08-08T04:57:02
91,716,042
29
7
MIT
2023-08-08T04:55:59
2017-05-18T16:37:55
Python
UTF-8
Python
false
false
2,265
py
from armulator.armv6.opcodes.concrete.mul_a1 import MulA1 from armulator.armv6.opcodes.concrete.mul_t1 import MulT1 from armulator.armv6.opcodes.concrete.mul_t2 import MulT2 def test_mul_t1(thumb_v6_without_fetch): arm = thumb_v6_without_fetch arm.opcode = 0b0100001101000001 arm.opcode_len = 16 opcode...
[ "matan1008@gmail.com" ]
matan1008@gmail.com
18798f0266954d7f7e163c351ce49b0a4761e852
5f34c24225991f6332d73fd57e74e0f4145499bf
/pyarubaoss/acls.py
c1cfc9163b31518747163951411fe595b86b05b7
[ "Apache-2.0" ]
permissive
RouteNotTaken/pyarubaoss
9b09c9901e374e59939cf894f03fb68bdbf801c4
14f8e132f3ab17d109bf724568c2b498e8d35cc9
refs/heads/master
2021-08-20T09:09:50.648826
2017-11-28T18:25:31
2017-11-28T18:25:31
104,519,191
0
0
null
2017-09-22T21:12:48
2017-09-22T21:12:47
null
UTF-8
Python
false
false
941
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import requests, json def get_acls(auth): url = 'http://{}/rest/{}/acls'.format(auth.ipaddr, auth.version) try: r = requests.get(url, headers = auth.cookie) acls = json.loads(r.text)['acl_element'] return acls except requests.exceptions...
[ "nrhernandez@scoe.net" ]
nrhernandez@scoe.net
044706e36d879630d9396ab0241eca736624048f
48af945e9f8933d1cdddb3d99e6656ddf0285cca
/new/feed/urls.py
92cd4e032d4cdb3e9c058debbdb26d2729c54188
[]
no_license
kumarprafful/Website
324860aeb933279098564e753efc5d831b0ba0d8
40ab08c8378b888eb7b179b3ed1adba8d138e593
refs/heads/master
2021-01-22T18:23:32.140256
2017-03-15T11:22:05
2017-03-15T11:22:05
85,077,872
3
0
null
2017-03-15T13:48:52
2017-03-15T13:48:52
null
UTF-8
Python
false
false
781
py
from django.conf.urls import url from . import views app_name = 'feed' urlpatterns = [ url(r'^$', views.IndexView.as_view(), name='index'), #url(r'^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='read'), url(r'^(?P<pk>[0-9]+)/$', views.story_detail, name='read'), url(r'^(?P<pk>[0-9]+)/like/$'...
[ "pal.vishal41@gmail.com" ]
pal.vishal41@gmail.com
ee2e5f8bb3bbdb0ceadcb8b720066148e1e4cace
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5766201229705216_0/Python/tripodduan/p2.py
0870e361c9dc6c9ade8a7942a368c04a11fba496
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
795
py
#p2 import sys def test(edges, root, notin): outedges = filter(lambda x: x != notin, edges[root]) if len(outedges) < 2: return 1 results = [] for edge in outedges: results += [test(edges, edge, root)] results.sort() return 1 + results[-1] + results[-2] lines = sys....
[ "eewestman@gmail.com" ]
eewestman@gmail.com
21dacff46e3742d8562593d6ea73dcae3f477040
3f11e22b7bdf8a45345776f7bc2cfd2e6a9d1bf7
/src/data/preprocessing.py
829f6fe8d6eb71c21ff022dec0a38aa8e10964a8
[ "MIT" ]
permissive
wuyukun888/ocsvm
4beec777a4c362097b4f6d08ce0a565bcdc8e8d3
fcb7588782cf671baa670616bbeb1b4cde052a9e
refs/heads/master
2022-11-04T15:57:33.359848
2020-06-21T09:07:20
2020-06-21T09:07:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,998
py
import numpy as np from sklearn.decomposition import MiniBatchDictionaryLearning, PCA from sklearn.feature_extraction.image import PatchExtractor from PIL import Image def center_data(X_train, X_val, X_test, mode, offset=None): """ center images per channel or per pixel """ if offset is ...
[ "thinhbka.nguyenvan@gmail.com" ]
thinhbka.nguyenvan@gmail.com
ba8dca8825a048583c7978ad04a9c927dee30dd4
93f4df46e9ddd5e4aebac862256805c7c6a2290f
/Orientation/rep1ace.py
8cac5e91acecf2aaa10f74b230cbf6d4fcc515a1
[]
no_license
heraldia/ADLR-Python
038de9af4c625f738e0e08e22efb9fb0b9a7b924
9013e2ac820ba84d570f47eab395f6ced54d1e4d
refs/heads/master
2020-12-22T13:01:46.659905
2016-11-02T13:04:50
2016-11-02T13:04:50
34,348,381
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
import re f1=open('activityList1.txt','r').read() f1 = re.sub('Cooking chopping','Chopping',f1) f_w=open('activityList.txt','wb') f_w.write(f1) f_w.close()
[ "wlmqxx@gmail.com" ]
wlmqxx@gmail.com
3c57e140f888ce19cc88bbd58b0eeae119b722af
ab06098bb8ecab6f0e4dcbc78e952a8bed090342
/exercise5.py
65872a0be5d1602f2f2e7826496c645c160aeded
[]
no_license
divyaamin9825/Learn-Python-the-Hard-Way-Code
c889f4ba0b30d07133162ea00f288456e0685ca4
f2381e417a30ba5aa906c807eda2022c06c5021a
refs/heads/master
2021-04-04T05:00:49.954538
2020-03-23T04:03:39
2020-03-23T04:03:39
248,426,066
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
name = 'Zed A. Shaw' age = 35 # not a lie height = 74 # inches height_cm = height*2.54 weight = 180 # lbs weight_kg = weight/2-weight/20 eyes = 'Blue' teeth = 'White' hair = 'Brown' print(f"Let's talk about {name}.") print(f"He's {height} inches tall and {height_cm} cm tall.") print(f"He's {weight} lbs heavy and {weigh...
[ "noreply@github.com" ]
divyaamin9825.noreply@github.com
6c1111afd168fa48bd9f06b72a8a04d163020534
1dc0be5908067202eddbd4c071695bdd6125132e
/server/Classification_Standard.py
a1ea1037c81b5732506cae39513c8e8be0d3209c
[]
no_license
onlywant/NIDS
ffe992a340284703c71c7a71b954e9ff2f1db18a
05ae34dd7609383603a6d59687b99fdd430889db
refs/heads/master
2023-02-15T03:36:13.845107
2021-01-08T08:21:20
2021-01-08T08:21:20
327,822,813
1
1
null
null
null
null
UTF-8
Python
false
false
12,834
py
# import warnings filter from warnings import simplefilter # ignore all future warnings simplefilter(action='ignore', category=FutureWarning) import numpy as np import pandas as pd from time import sleep from queue import Queue import multiprocessing from gensim.models import Doc2Vec from gensim.models.doc2...
[ "1114128406@qq.com" ]
1114128406@qq.com
f4a16702a4149f1c2674845ef79d67e9eede14ac
104b4f496df84cc74cbd1b1c97e24f5b3061e85a
/news/rest/serializers.py
eee1cf9f6e36eb802048fb07733196ddd9afef6e
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
osuka/dognews-server
5f29f49f0200374809236f9408bdcd7b61be5102
0db18946b62379039791794c702f91b75ab95258
refs/heads/master
2023-03-03T00:43:33.016837
2023-02-04T19:47:22
2023-02-04T19:47:22
219,573,887
2
0
BSD-3-Clause
2023-02-15T20:39:40
2019-11-04T18:53:44
Python
UTF-8
Python
false
false
10,364
py
""" Django rest framework serializers for all the entities These transform models into various representations """ from collections import OrderedDict from dogauth.models import User from typing import Any, List from django.contrib.auth import get_user_model from django.contrib.auth.models import Group from rest_framew...
[ "486736+osuka@users.noreply.github.com" ]
486736+osuka@users.noreply.github.com
6a89e4ce43df01a945f17c15ff2b1d7caf4ada62
5058e5fb05efe6050c33f2a389da49284922d9b9
/apps/the_wall/migrations/0001_initial.py
ed0232f2af43fda5e8f0ce9ba909e1df1db396eb
[]
no_license
akshay5193/The-Wall_Django
d1a7849b4e4c660a05fee54675a7ab7b2a38bb4d
76f85f1ea3cafdcfda0aa5cc78034a3d0f6fd20d
refs/heads/master
2020-07-22T16:04:46.115793
2019-09-09T07:52:35
2019-09-09T07:52:35
207,254,929
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2019-07-18 22:01 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('login_reg', '0001_initial'), ] o...
[ "akshaytnande@gmail.com" ]
akshaytnande@gmail.com
a802f9c9136a652dccdbc4f90a28432961097d39
246fd025719a952a66c8cf3ccb9952fa60aab79e
/mbgpDriver/myDB.py
4f2f4cfac7504488d7a9a92e70411d25b55fd5cf
[]
no_license
srxzr/decoyrouter
d2295fae64145b2bd04d46b30909d6b4d448ff0d
949281457d802bc9672065d1eb35751392656ecc
refs/heads/master
2021-05-03T21:47:29.456143
2016-10-21T06:33:59
2016-10-21T06:33:59
71,536,304
0
0
null
null
null
null
UTF-8
Python
false
false
7,534
py
__author__ = 'milad' import cPickle as pickle import logging import copy logging.basicConfig(level=logging.DEBUG, format='[%(levelname)s] (%(threadName)-10s) %(message)s', ) class Route: def __init__(self,source,dest): self.source=source self.destination= dest...
[ "milad@cs.umass.edu" ]
milad@cs.umass.edu
a83a5e4abbe7b76e5cbdcc7adad28cf164c569fd
72e7e02fa0731ff6991329f5a706154a3dc8de6e
/API_num.py
af28a450cbcd54d817caa94d9e0df4669826dcb0
[]
no_license
11111001001/STEPIK
2006ab7506f7e7aa37e4773d44cc6e8d6f6656ac
36a86cd9ef06def916fdb062108d4ff13bf63a76
refs/heads/master
2022-12-05T02:24:49.486750
2020-08-20T12:17:27
2020-08-20T12:17:27
288,160,743
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
import requests import json # Обработка чисел из файла # with open("example_dataset.txt") as f: # for num in f: # res = requests.get(api_url + num.strip() + "/math?json=true").text # print(json.loads(res)["text"] if json.loads(res)["found"] else 'Boring') api_url = 'http://numbersapi.co...
[ "noreply@github.com" ]
11111001001.noreply@github.com
29eaa6b1fd044584f45a9580ce32b5f7f7e7ec2d
173c0986418c758ed9372e3a5bb18baf96925ce9
/QA_03_基本数据类型_字符串.py
23a8080187156394bc47e65e635a28cbfeb709a8
[]
no_license
leadecree/python
8ecd64045196117dc8c6f64d529fb6206ae53d93
429faaf4ff8b092c0f54d33586140c65ecceb6b7
refs/heads/main
2023-08-02T07:30:44.616302
2021-10-02T08:14:24
2021-10-02T08:14:24
350,205,951
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
# *_* coding:utf-8 *_* # @author:sdh # @Time : 2021/9/19 0019 08:04 # 字符串:单引号、双引号、三引号字符串 # 1 字符串的三种形式 x = 'python' y = "python" z = """python""" print(x, y, z) # python python python # 2 字符串中有字符串 a = "this is 'python'" print(a) # this is 'python' # 3 字符串的切片 b = "learn python" print(b[:]) # 取全...
[ "noreply@github.com" ]
leadecree.noreply@github.com
1af7319609de94556066e619b6963688250a26b3
e50eaf7779e8073bf511e17ec5006f9ccfe9e48d
/other/lab2/messenger/examples/app.py
408b756c561618d39bd23e12e22fda6f95cbc0c3
[]
no_license
serhiisad/xmlDb_labs_2019
2d0b06a7af3ddc83bdb5eb4dd5035a05b8f5a4de
a9e5d6fa76f34c7f5a4432dd10a666f81a0828fa
refs/heads/master
2021-06-13T10:39:39.928224
2019-06-22T09:39:24
2019-06-22T09:39:24
170,873,247
0
0
null
2021-03-29T20:00:20
2019-02-15T13:57:32
Python
UTF-8
Python
false
false
2,292
py
import redis import time import traceback import random def check_spam(self, message): ''' imitation of spam-checking :param self: :param message: :return: ''' time.sleep(random.randint(0, 3)) r = bool(random.getrandbits(1)) print(r) return r def RedisCheck(): try: ...
[ "serhiisad.kpi@gmail.com" ]
serhiisad.kpi@gmail.com
04cd950ffd4444f0180c80dfafcffab70bcbc0dd
57a958244cd90f1cd8a21d958f70bb96e1ecb75e
/migrations/versions/9c17c43cf372_notifications.py
703f1581cf1a758dc28cc20cf184c951d9a2d44f
[]
no_license
victoriaroan/microblog
cd5c7ea1a0ab3d80afd396abf4827e94b13a7c10
b9a5d59d8c5fd6f2fda1899dfe451ee17b248f94
refs/heads/master
2022-12-09T19:14:55.386839
2019-12-23T20:47:47
2019-12-23T20:47:47
226,374,523
0
0
null
2022-12-08T03:20:11
2019-12-06T17:05:36
Python
UTF-8
Python
false
false
1,326
py
"""notifications Revision ID: 9c17c43cf372 Revises: 9a08e453b7bc Create Date: 2019-12-20 11:03:38.251403 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '9c17c43cf372' down_revision = '9a08e453b7bc' branch_labels = None depends_on = None def upgrade(): # ...
[ "vgood@linode.com" ]
vgood@linode.com
7c75e1037951eecb90c898a717ca71f18c263273
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02747/s173828040.py
26114d23e715060f839c2e250c10e568d43e5e65
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
print('YNeos'[input().replace('hi','')!=''::2])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
644e8272099f69cc01b87e9f14836df016df6f42
bb53e49aee013758573f3b9db3739c38e81e0e84
/converter_2_10.py
97b5891cbb0bebafab8201a3ebb4159e8f13996b
[]
no_license
LaszloNagy85/Converter_Dojo
db57384f75b08921f298b60e557ec5851b3bc626
8d7f06d929b4310c03a37bb782c83b7f86712e1d
refs/heads/master
2020-05-29T21:24:11.039655
2019-05-30T08:47:06
2019-05-30T08:47:06
189,379,001
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# 2 / 10 converter num = (input("Add number and the type of it(separated by space): ")).split() n, v = int(num[0]), int(num[1]) bin = [] if v == 10: while n >= 1: bin.insert(0, n % 2) n = n // 2 for i in range(len(bin)): bin[i] = str(bin[i]) result = "".join(bin) print(f"The res...
[ "n.laszlo.uk@gmail.com" ]
n.laszlo.uk@gmail.com
090b6cdc689365e07f78330f5f2da9f2ff75ba8b
8f5b67b222e14a5eae5b1afa795351ed7ceb2c67
/backend/bg_test_app_25843/urls.py
19798f357903f89a228d1e1c6faacf01b61a393b
[]
no_license
crowdbotics-apps/bg-test-app-25843
f495ec91078a5818ae413061ac65e3ef4acb29bf
9c0ffe925b29a4bb1d89449689937e1687b2d4ba
refs/heads/master
2023-04-14T08:14:39.111199
2021-04-22T20:34:40
2021-04-22T20:34:40
360,675,010
0
0
null
null
null
null
UTF-8
Python
false
false
2,229
py
"""bg_test_app_25843 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') C...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ced201d5272d848d0d8e7da843b200dca85ffdd0
a9bf6b6595adb92fb0302c08b5fc55a3b4a8000d
/other_models/cutter_model1/model1.py
6b0769b2952d1904543a126c5fa60d001ff91b9b
[]
no_license
JanCVanB/cs152model
5356c9bcb168b52d4a3b8531a44e4c7f6342f428
3e5f9b4bc2efda51a7c93afcd3b00af75d03a4fc
refs/heads/master
2021-06-06T05:17:08.390511
2014-12-06T21:53:16
2014-12-06T21:53:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,868
py
import numpy as np import numpy.random as random import matplotlib.pyplot as pl import sys import plot_defaults ################## ### Parameters ### num_songs = 1e2 # number of songs in songspace frac = 1e-1 # fraction of songs in songspace that are intended power = 1e0 # for skewing the utilities toward 0 (power > ...
[ "cyghost@gmail.com" ]
cyghost@gmail.com
b875a411996438c00d0f845d3d9830153a3ffd06
ae90864ffefaae65da9c6e1809bf27208a9d34fc
/EXAMPLES/API/export_basetype_csv_default_options.py
cccc38b623f26762619346fdc09368f88db9197b
[]
no_license
apDataGuy/pytan
6374f128c4b4070d041d8bfb05c22e2434ff4a68
24c2907e28b3a93f3a96aa4cb42933ed2c6f83bf
refs/heads/master
2021-01-16T22:10:31.715453
2015-03-26T17:32:11
2015-03-26T17:32:11
38,935,203
0
0
null
2015-07-11T17:56:56
2015-07-11T17:56:56
null
UTF-8
Python
false
false
4,369
py
""" Export a BaseType from getting objects as CSV with the default options """ import os import sys sys.dont_write_bytecode = True # Determine our script name, script dir my_file = os.path.abspath(sys.argv[0]) my_dir = os.path.dirname(my_file) # determine the pytan lib dir and add it to the path parent_dir = os.pat...
[ "jim.olsen@tanium.com" ]
jim.olsen@tanium.com
43536d8db6c4c1914e4a95e7d5c4197d02ecbbfd
98efe1aee73bd9fbec640132e6fb2e54ff444904
/loldib/getratings/models/NA/na_tahmkench/na_tahmkench_bot.py
dac7b83b91ea31853e289b78ea698d1ad2a695fd
[ "Apache-2.0" ]
permissive
koliupy/loldib
be4a1702c26546d6ae1b4a14943a416f73171718
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
refs/heads/master
2021-07-04T03:34:43.615423
2017-09-21T15:44:10
2017-09-21T15:44:10
104,359,388
0
0
null
null
null
null
UTF-8
Python
false
false
6,959
py
from getratings.models.ratings import Ratings class NA_TahmKench_Bot_Aatrox(Ratings): pass class NA_TahmKench_Bot_Ahri(Ratings): pass class NA_TahmKench_Bot_Akali(Ratings): pass class NA_TahmKench_Bot_Alistar(Ratings): pass class NA_TahmKench_Bot_Amumu(Ratings): pass class NA_TahmKench_Bot_A...
[ "noreply@github.com" ]
koliupy.noreply@github.com
dfbed0cf31ade9a3f9c18e54055c6eff0e25863c
58654db29fc3dfb5af340b0368d85b7141db4263
/mf6shell/rasterfiles.py
c6a7359cce77807c03bc835cc0945e926abf72cd
[ "MIT" ]
permissive
tomvansteijn/mf6shell
2149174ef849f26cfbfcdbdbbd02962ef98bf073
670fdcda33a4e1322cf62e478069d496dd0d7be1
refs/heads/master
2020-06-20T13:45:42.475305
2019-12-04T13:16:50
2019-12-04T13:16:50
197,139,015
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Tom van Steijn, Royal HaskoningDHV import rasterio import logging import os log = logging.getLogger(os.path.basename(__file__)) def read_raster(rasterfile, masked=True, band=1): log.debug('reading {f.name:}'.format(f=rasterfile)) with rasterio.open(rasterf...
[ "tom.van.steijn@rhdhv.com" ]
tom.van.steijn@rhdhv.com
d6fd3b369eb3b14ede95e9dc1ccdadb80a68081c
7d22c06007cfa981585fd7144d8463e3f9ce4793
/index/index_download_daily.py
550955254f832dbbb7e4e1a7493294cc748d349c
[]
no_license
helenypan/petrologica-python
7aedf2bb4ac283c8badf97bfec9144c4ea515f06
60bce447d262797d73dcae283bffd60ef5e7e240
refs/heads/master
2021-01-19T11:16:27.022755
2017-07-13T11:56:10
2017-07-13T11:56:10
87,949,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,846
py
import sys sys.path.append('../includes') from db import DB from common_functions import parse_company_prices, parse_ftse_prices,parse_currency import urllib.request import ssl import re context = ssl._create_unverified_context() url_to_complete = "https://uk.finance.yahoo.com/quote/{}/history?interval=1d&filter=histor...
[ "yue.pan@me.com" ]
yue.pan@me.com