blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
75ad2856c5ff6b4ca39329ba99881252b8c694e8
6140bcfbdfad6fef444acfd8d40a776f7f467598
/sbmOpenMM/datasets/__init__.py
1820e9b8e9b585d1513c82d6822d7f0a0098220f
[ "MIT" ]
permissive
CompBiochBiophLab/sbm-openmm
bfa799f305d32b3b9de147d99bf8f2354867ee06
113b04eb2c78664a48600a05ff6778898fbb2fd9
refs/heads/master
2022-08-10T00:49:30.874501
2022-07-24T11:12:31
2022-07-24T11:12:31
219,484,731
18
7
MIT
2019-11-26T12:59:44
2019-11-04T11:23:38
Jupyter Notebook
UTF-8
Python
false
false
28
py
from . import foxp1_folding
[ "martin.floor@uvic.cat" ]
martin.floor@uvic.cat
2b342274bc429eacca9e41da3bbf739877dd0db6
a1ff3f4a3909b672a31338aa7a1e25d7953111fb
/twitter_app/ttc_debug.py
a9c691ffbfd6b244b1ba4828a633dfd53ce6f660
[]
no_license
wayne927/RPi-stuff
0301831576bbc0d3e9a480d57d04279452dd2d84
cae95547e96e0b1e80f2dc3b6de9b7dfeef777b9
refs/heads/master
2020-05-21T04:36:02.799577
2018-12-11T11:00:02
2018-12-11T11:00:02
58,220,398
0
0
null
null
null
null
UTF-8
Python
false
false
2,788
py
#!/usr/bin/python import twitter import datetime from datetime import timedelta import calendar import os import sys from readkeys import * from send_gmail import * def getLocalTime(date_in) : utc = datetime.datetime.strptime(date_in, '%a %b %d %H:%M:%S +0000 %Y') # TODO: deal with daylight saving time... ...
[ "wayne.ngan@gmail.com" ]
wayne.ngan@gmail.com
43e3f69a4d43e8fd97a6995fa95b1197d002dc0e
0315255c749b12216a7c8ac26378d8921466284a
/tests/integration/client/standard.py
969611b4d0a0800f10b1c10258875138538f5b08
[ "Apache-2.0" ]
permissive
jhutchins/salt
a32de1362c6787ec96df7ce57bf9b98f20eaf30a
22ec0cee6a8a842ec426b7a3e634723ea7ce7256
refs/heads/master
2021-01-21T00:05:05.782149
2012-04-06T22:03:19
2012-04-06T22:03:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
# Import python libs import subprocess # Import salt libs import integration class StdTest(integration.ModuleCase): ''' Test standard client calls ''' def test_cli(self): ''' Test cli function ''' cmd_iter = self.client.cmd_cli( 'minion', ...
[ "thatch45@gmail.com" ]
thatch45@gmail.com
d96d507a3a852249066e493e07e09227d669afb0
cd8ea41cd625440bfacbee84e7a7632e1243c407
/code/recipe/tests/test_ingredients_api.py
e22fc54e3b2e1e1bab6a44b16230688e9876e504
[]
no_license
DamianCzajkowski/recipe-app
826c332f5b6699cb3f63c5005dda953928467e20
a593acbfedc6b0142f3e51289cc4a4dbd19bf793
refs/heads/main
2023-07-18T06:16:28.872407
2021-08-15T19:12:49
2021-08-15T19:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,346
py
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient from core.models import Ingredient, Recipe from recipe.serializers import IngredientSerializer INGREDIENTS_URL = reverse('recipe...
[ "damianczajkowski@bluerider.software" ]
damianczajkowski@bluerider.software
d341c94a528f020251ed8186095bde571f3fc3e8
e98d4ac448b838712616f8fe408a4073b799a478
/currency_converter_api.py
e1a8943aeb23ec5613a3b4583276540f55642fdc
[]
no_license
KachusovStepan/CurrencyConverterApi
2a15bbe0e5376480b4c752d4585611647d9f0f8d
485460ee9a0c04c29f26c4ca6ac87406e8a39932
refs/heads/master
2023-04-12T10:10:25.928466
2021-05-10T17:55:12
2021-05-10T17:55:12
366,129,289
1
0
null
null
null
null
UTF-8
Python
false
false
3,041
py
import asyncio from aiohttp import web import json import os from services.exchange_rate_repository import ExchangeRateRepository routes = web.RouteTableDef() repo = ExchangeRateRepository(host="redis", port=6379) loop = asyncio.get_event_loop() @routes.get('/convert') async def handle_converion(request: web.Reque...
[ "stepanurfu@gmail.com" ]
stepanurfu@gmail.com
d600fb5bea2fd528892cf24f66259ab17cd92938
98dbbcd09777a3071c4decefff8b19d477f225a1
/plot_functions.py
e532e7d0e6c7f802fb7e4a06c37470423110bd63
[]
no_license
ChristianMorup/RL_Pong
bbcc54f20f44be68ffb80b8257af067755a87476
8304df69ef0cabbb4b12b65a1b547fc32eb49b8d
refs/heads/main
2023-01-23T10:03:09.283135
2020-12-01T18:01:38
2020-12-01T18:01:38
313,404,719
0
0
null
null
null
null
UTF-8
Python
false
false
8,335
py
import numpy as np import matplotlib.pyplot as plt from file_util import FileUtil from modes_and_types import * apply_filters = True #TODO: ## Proportional to the distance ## Font and width of figures is too small ## Put labels on top of the figure ## Number of missed balls ## Invert the scores #reward_types = all_r...
[ "chrmorup@gmail.com" ]
chrmorup@gmail.com
5e070c29c4a7e73ae079e481606dc53c90ecce4e
32a60828c347544bffad94bf9716078c5717d760
/landing/apps/customuser/models.py
13cfc581f89337a9e3ba60cff0cd353c1ef9af35
[]
no_license
flikn/lazonaflikn
6c0b9c6eee85a0f23d1443af358ec8077b07b4f4
c8bfc2f50a03fc224f734ee2143280ea87a0964e
refs/heads/master
2020-08-11T17:19:49.092468
2015-02-16T22:35:41
2015-02-16T22:35:41
29,598,846
0
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
from django.db import models from django.core import validators from django.contrib.auth.models import BaseUserManager, AbstractBaseUser from apps.subscribe.models import Subscriptor class MyUserManager(BaseUserManager): def create_user(self, email, password, username="", first_name="", last_...
[ "oscar.gi.cast@gmail.com" ]
oscar.gi.cast@gmail.com
310ba0cb9368a175620ca3cbcbd62104bf3f9f8b
edc1f1369794a4a1c499c6e9d5fe49a712657611
/algorithms/leetcode_all/560.subarray-sum-equals-k/subarray-sum-equals-k.py
74c28e9996672f15fe435da46bf9edd7cf5ffdc2
[]
no_license
williamsyb/mycookbook
93d4aca1a539b506c8ed2797863de6da8a0ed70f
dd917b6eba48eef42f1086a54880bab6cd1fbf07
refs/heads/master
2023-03-07T04:16:18.384481
2020-11-11T14:36:54
2020-11-11T14:36:54
280,005,004
2
0
null
2023-03-07T02:07:46
2020-07-15T23:34:24
Python
UTF-8
Python
false
false
379
py
class Solution(object): def subarraySum(self, nums, k): """ :type nums: List[int] :type k: int :rtype: int """ preSum = ans = 0 visit = {0: 1} for i, n in enumerate(nums): preSum += n ans += visit.get(preSum - k, 0) ...
[ "william_sun1990@hotmail.com" ]
william_sun1990@hotmail.com
11b9bf5a469cbefb5d55ecbc166fdf0b95d5e6a5
d2bb13cec7faf28e3d268312298f03c99806bd8b
/IPTS-16891-Dy2Ti2O7/norm_mesh_symm_All_rwp_100mK_7.py
d66eaa8f6dc140ec0ed3f53c2db9c0369b379c0f
[]
no_license
rosswhitfield/corelli
06a91c26556ea788f20f973a1018a56e82a8c09a
d9e47107e3272c4457aa0d2e0732fc0446f54279
refs/heads/master
2021-08-07T14:04:24.426151
2021-08-03T19:19:05
2021-08-03T19:19:05
51,771,543
0
0
null
null
null
null
UTF-8
Python
false
false
5,488
py
from mantid.simpleapi import * from mantid.geometry import SymmetryOperationFactory import numpy as np # about information on where the data are and where to save iptsfolder= "/SNS/CORELLI/IPTS-16891/" outputdir="/SNS/users/rwp/corelli/IPTS-16891-Dy2Ti2O7/" nxfiledir=iptsfolder + "nexus/" ccfiledir = iptsfolder +"shar...
[ "whitfieldre@ornl.gov" ]
whitfieldre@ornl.gov
5959f52e07a61191622f22f7491aa2229167184c
ba104a6a6c3f84d2e96fb3c304af781d881bed8e
/bbs/dbproxy.py
1d37004c38872fff079b3090d675d41028b73a59
[]
no_license
jonny290/yos-x84
463a7f166ee59f2dd2a7a197352db1341dad8b66
7b03a35f12d2b7a10fa4709b09107935c6f14000
refs/heads/master
2021-01-20T06:59:22.869289
2015-01-17T06:13:32
2015-01-17T06:13:32
24,814,644
2
0
null
null
null
null
UTF-8
Python
false
false
4,902
py
""" Database proxy helper for X/84. """ import time class DBProxy(object): """ Provide dictionary-like object interface to a database. a database call, such as __len__() or keys() is issued as a command to the main engine, which spawns a thread to acquire a lock on the database and return the resu...
[ "root@5c2973472a80.(none)" ]
root@5c2973472a80.(none)
2da22543b0df8381720ed441872ed8dab2d2f559
4948250bd7ca92e47742bb40e89dfc74c3f50463
/projectwork/testapp/migrations/0007_auto_20210201_1657.py
60b45419969915a73692c4cfa10d98d26bb73a53
[]
no_license
sumitnicmar/PetCover
e145c3b5dddb946aa05feb23f4ad8e0c17c54707
a4d478d3e141b9c4e5c0050800aa37e90580fad9
refs/heads/main
2023-03-10T16:04:40.744012
2021-02-15T18:58:02
2021-02-15T18:58:02
339,175,398
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
# Generated by Django 3.1.3 on 2021-02-01 11:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('testapp', '0006_auto_20210201_1633'), ] operations = [ migrations.AlterField( model_name='appoi...
[ "sumitsoft1993@gmail.com" ]
sumitsoft1993@gmail.com
355606e8e2db99254d740fee5aa6d2a68fae9623
08c4c7ed66ba9f2312b914b639c8e63d6a094552
/shoppingX/asgi.py
45071adf66eacba11b97fbf427fd7cbef0540f2e
[]
no_license
aman-ash/E---Commerce_Website_Project
c93ab4c314de1de87e98d693515999f5dc8fc969
4e5fd2e982b96d9bc111027a87b15381ecc7b687
refs/heads/master
2023-07-15T06:33:53.290197
2021-08-24T06:44:24
2021-08-24T06:44:24
382,203,247
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" ASGI config for shoppingX project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SET...
[ "amanmahore.ash@gmail.com" ]
amanmahore.ash@gmail.com
9ca0eebcc0fb73790d6d40f0aa355c00af6bea88
77f5208e62d4c222702184c920323029c15d37fe
/ml_project/work/features/nope_transformer.py
6efb522acc035a8202f9f84e79f6d47d4e768f6c
[]
no_license
made-ml-in-prod-2021/korowood
1f89a58b9126458d7f0d43068a0d28e6f230d11f
591cfd3341aae10618075123757011cf9465b751
refs/heads/main
2023-06-06T15:07:20.537003
2021-06-17T08:16:09
2021-06-17T08:16:09
354,288,201
0
0
null
2021-06-17T08:16:10
2021-04-03T12:37:46
Jupyter Notebook
UTF-8
Python
false
false
555
py
import numpy as np import pandas as pd from typing import List from sklearn.base import BaseEstimator, TransformerMixin class NopeTransformer(BaseEstimator, TransformerMixin): """ Dummy class to do pass-through dataset as is. """ def __init__(self, cols: List[str] = None, quantile: float = 0.05): self...
[ "yakorovka@gmail.com" ]
yakorovka@gmail.com
234c003b3b7516f29ad666cdb2a012b2e5e63f70
a90ce0aaa95b712c6b1a7c4fa584254f93d80451
/1-6-8.py
491c4a751d6c8962c237e878bf408bad937b28d0
[]
no_license
vvFell/stepic_course
a82743356144899d6e04ca51df67bbbaf501c91f
e8c662437b7ffb1abb7be4a8e08903184710b59f
refs/heads/master
2020-09-17T00:04:55.346737
2019-11-25T11:04:48
2019-11-25T11:04:48
223,927,087
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
from selenium import webdriver import time link = "http://suninjuly.github.io/find_xpath_form" try: browser = webdriver.Chrome() browser.get(link) input1 = browser.find_element_by_tag_name('input') input1.send_keys("Ivan") input2 = browser.find_element_by_name('last_name') input2.send_keys("...
[ "VSerov@profix.com" ]
VSerov@profix.com
3fc7db5e967c82b33be3e2e96772d7a1ad400835
2c3e61c057d00399e94985914556224fff6cc5be
/marketingFirm.py
077936d4cf5899dbe6303192c805fd836d3831aa
[]
no_license
wrightzachary/sweepstakes
7b09a7b41017cd870402bb639a6ad047ca314478
b5cc71a533d270b8cc9b6b23059a45dc798a9f18
refs/heads/main
2023-06-25T20:37:58.659130
2021-07-08T19:31:14
2021-07-08T19:31:14
379,325,841
0
0
null
null
null
null
UTF-8
Python
false
false
2,524
py
from sweepstakes import Sweepstakes from userInterface import UserInterface class MarketingFirm: def __init__(self): self.marketing_firm_name = "" self.sweepstakes_storage = ["Boat", "Weekend getaway"] # create sweepstakes def create_sweepstakes(self): chosen_name = UserInterface....
[ "taylorzw96@gmail.com" ]
taylorzw96@gmail.com
df931b896dc092c4cf234d2b30a65601baa984cb
06d42cdf96dc12d3582ee2b107c481800eea95ae
/exercises/ex8_8.py
b57df9a6d5477ca300240ac35589a9f63c1a0c20
[]
no_license
GiaDieu/Python-exercises
236773137b1156dd9e5c2aef91b8e0ab4ecdb6fb
81ae81fc91d27c64f4f70922fb4c09cf8d73902d
refs/heads/master
2020-09-11T18:06:47.769509
2019-11-16T19:20:38
2019-11-16T19:20:38
222,147,357
1
0
null
null
null
null
UTF-8
Python
false
false
2,179
py
#!/usr/bin/env python3 __doc__ = ''' Viết script get_version nhận vào ngày ở format <month>/<day>/<year>. VD: 03/28/16 làm parameter và in ra một version được tính theo quy luật sau: - Version ở dạng format: <MAJOR>.<MINOR>.<PATCH>, vd: "6.9.2" - Từ ngày 09 tháng 02 năm 2016, phiên bản bắt đầu là "1.0.0" - Mỗi 28 ngày...
[ "giadieuly@gmail.com" ]
giadieuly@gmail.com
2622b01ab6dbae6e902dd8647177dd9c4dd6092a
64e899ae6199b7915585f7f903b2ec221aa0b8df
/common/modelanalysis.py
a0b3977391b8709375b3571f290d6da0707ec2f6
[]
no_license
sharma0611/dsworkflows
642f36dc0f7369c319eddbf27cd7bb734c9ab7a4
95dacb81581193d57fbc318ad1d9ef2c83b897cd
refs/heads/master
2021-09-15T01:38:11.201611
2018-05-23T14:31:52
2018-05-23T14:31:52
118,946,923
0
0
null
null
null
null
UTF-8
Python
false
false
13,940
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ **************************************** Shivam Sharma (CIH745) Data Science Co-op Summer 2017 **************************************** Module: Model Analysis Purpose: Hosts the functions that interact with sklearn-interface models to provide analysis on s...
[ "sharma.shivam0611@gmail.com" ]
sharma.shivam0611@gmail.com
26f2e95b46c06356ab3fa1f80b77aab1536140f8
67e1ccd069d6194158d32961c6a1f0fa49a0681f
/01_intro/recombination.py
6413cf48e0cd0ee4a97fad5584378a820d17259f
[ "Unlicense" ]
permissive
arantzardzm/software-art-text
a9a5e8e601876334049d484b2ef238ae233d47c5
2af98427892126ee00b1de12f7fd60b061386247
refs/heads/master
2021-07-21T16:17:12.191445
2017-10-31T09:20:59
2017-10-31T09:20:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
import sys import random from time import sleep actor_adjectives = ['imperceptible', 'defiant', 'howling', 'subtle', 'eerie', 'cute'] actor = ['feline', 'cat', 'purr', 'claws', 'friend', 'crawler'] act = ['jumps', 'caresses', 'envelops', 'touches', 'reaches into', 'pets'] victim_adjectives = ['frightened', 'foolish', ...
[ "pierre.depaz@gmail.com" ]
pierre.depaz@gmail.com
abd7adc1822c7a3ded2bfbb351e303bc38039614
99a310f6bb6c7a6c728f1b3ae78054487372042d
/aoc2019/intcode/state_machine.py
b68372737c28f105cbb818391176e19138743da5
[]
no_license
jepebe/aoc2018
46ce6b46479a0faf2c2970413af14a071dcfdb79
4bf91b99bec4b59529533ef70f24bf6496bada99
refs/heads/master
2023-01-11T16:44:42.125394
2023-01-06T06:27:14
2023-01-06T06:27:14
159,912,721
1
0
null
null
null
null
UTF-8
Python
false
false
5,926
py
from collections import defaultdict def get_address(state_machine, parameter, write_mode=False): mode = state_machine['parameter_modes'][parameter] pos = state_machine['pos'] if mode == 0: addr = state_machine['instructions'][pos] elif mode == 1: if write_mode: print('Writ...
[ "jepebe@users.noreply.github.com" ]
jepebe@users.noreply.github.com
c895843d8e49416fd67fe7412ef83108b18815d3
1e12dc07222de77f9344b8c260d7b848a76d8d5e
/word_cloud.py
70771c0f40ffd11a3a814b39c076130f1220d916
[]
no_license
ljyw17/douban_movie_analysis
4dd61f3a090189ccd411844cae929f12e81b005c
8d520f582b19f8d85add8ad72540a27db98bba60
refs/heads/master
2020-07-11T03:38:22.936473
2019-08-26T12:42:42
2019-08-26T12:42:42
204,436,858
3
2
null
null
null
null
UTF-8
Python
false
false
733
py
from wordcloud import WordCloud import PIL .Image as image import numpy as np import jieba, pandas def trans_CN(text): word_list = jieba.cut(text) # 分词后在单独个体之间加上空格 result = " ".join(word_list) return result if __name__=="__main__": file_path = r"Pure Hearts Into Chinese Showbiz.xlsx" ...
[ "noreply@github.com" ]
noreply@github.com
c8d1f101c814d254035989eb2539d01b9c470f46
5b7413d0de8f2dc34df372489d233f59b12a76c6
/2.3.4.py
e4a37510affe30a6cde8198dd5b085c0fdf4c18e
[]
no_license
vekhnyk/stepik---auto-tests-course
cd1e9ce54f242a49b1b4a7b6fe9a25c99866dd07
3508794aa955c58c79fd31d1412faec5dbd2a2cc
refs/heads/master
2022-08-21T20:39:31.324410
2020-05-11T07:46:17
2020-05-11T07:46:17
262,959,713
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
from selenium import webdriver from time import sleep import math link = 'http://suninjuly.github.io/alert_accept.html' try: browser = webdriver.Chrome() browser.get(link) browser.find_element_by_class_name('btn-primary').click() confirm = browser.switch_to.alert confirm.accept() x = browser....
[ "vekhnyk@gmail.com" ]
vekhnyk@gmail.com
62be2d8d4dbc67fc085acf0750f18d8471c8142f
f008fe1057b00d19d7812e0373669763c9992f42
/python/utils/hpatch.py
1047e32c3a097bb0f224c9141aa398b918144cee
[ "BSD-2-Clause" ]
permissive
baiyancheng20/hpatches-benchmark
68a265f5e23f7ceabce06635818b8c6a73c3e578
23c3a6dcf92bff7bda492363908cbc52b2533472
refs/heads/master
2021-01-20T00:52:08.069991
2017-04-22T19:02:21
2017-04-22T19:02:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,448
py
import cv2 import numpy as np from glob import glob from joblib import Parallel, delayed import multiprocessing import pandas as pd import json import os import time import scipy import copy # all types of patches tps = ['ref','e1','e2','e3','e4','e5','h1','h2','h3','h4','h5',\ 't1','t2','t3','t4','t5'] def ...
[ "v.balntas@imperial.ac.uk" ]
v.balntas@imperial.ac.uk
78e5bb79876dae249b0a9fd6b8d331c441ff4a64
f00f97b6450a39ad148eec02609b059c244a2e9c
/meaning of life.py
26a471413d33aac06d6f1109d17895d5bc102dcc
[]
no_license
BridgeFour4/pythonguiexamples
0eaae8fe71268161995af8269f40eab39cc719ed
79b7304ab2d207b215eb48064aa1b309ec169b6a
refs/heads/master
2020-04-27T14:43:32.889899
2019-03-11T20:11:17
2019-03-11T20:11:17
174,418,733
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
from tkinter import * class Application(Frame): def __init__(self,master): super(Application,self).__init__(master) self.grid() self.create_widgets() def create_widgets(self): self.configure(bg="silver") self.labelone = Label(self,text= "Enter password for the secret li...
[ "nathan.broadbent@tooeleschools.org" ]
nathan.broadbent@tooeleschools.org
0aa4fad95e735af119da27c643164c508715fe23
58c122786263edf8aec4a6b6b4986b2f3d4ff1d5
/modules/s3/pyvttbl/qsturng.py
49e432d4a21df43c96c06038b370da50df36ded8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
andygimma/eden
c9d0819e87ef05ff607cac6120dbddc86e55bc31
716d5e11ec0030493b582fa67d6f1c35de0af50d
refs/heads/master
2021-01-15T21:54:03.240072
2012-11-16T05:13:11
2012-11-16T05:13:11
6,726,106
1
0
null
null
null
null
UTF-8
Python
false
false
47,225
py
# Copyright (c) 2011, Roger Lew [see LICENSE.txt] # This software is funded in part by NIH Grant P20 RR016454. """ Implementation of Gleason's (1999) non-iterative upper quantile studentized range approximation. According to Gleason this method should be more accurate than the AS190 FORTRAN algorithm of Lund ...
[ "dominic@nursix.org" ]
dominic@nursix.org
646357d0513992ba17b94e2a0ec1f976826b4817
f16a17a6faa673007f69b9892c4558e11958c55d
/cmddocs/articles.py
477cd909cf357279d062fd6df3261881a72a0240
[ "MIT" ]
permissive
TaurusOlson/cmddocs
6b707110774d9a7f7449e08c32846e8b263d4b48
7c84a7ba32b21c7a3d15304c4590f6eab56c572a
refs/heads/master
2021-01-20T22:50:51.512550
2015-01-08T11:33:26
2015-01-08T11:33:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,952
py
import os import re import tempfile import subprocess # Function definitions def list_articles(dir): "lists all articles in current dir and below" subprocess.call(["tree", dir]) def list_directories(dir): "lists all directories in current dir and below" subprocess.call(["tree", "-d", dir]) def change...
[ "flo@noqqe.de" ]
flo@noqqe.de
64cddf5250ac60f94ef5c62aedfa3eb120d3e5f8
8ca70628ca811e08fb77b8e251fc8e5049486a65
/airbyte-integrations/bases/base-python/base_python/cdk/streams/exceptions.py
6727216dd5dd50496241a0890070cb87439e8f82
[ "MIT" ]
permissive
Tana8M/airbyte
a19544d2f7997ec7551793f7077d3e02bfe6ac84
49296ef657be272684c7259ed0d6be06e574dbe1
refs/heads/master
2023-04-15T15:04:22.849307
2021-04-23T23:12:55
2021-04-23T23:12:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,825
py
""" MIT License Copyright (c) 2020 Airbyte 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, merge, publish, distr...
[ "noreply@github.com" ]
noreply@github.com
2a4fbb6eebb89b4e2f3e140179c0dd9d6b1d9665
b9ab57c699ab64c349098bba8ae3f954cd08b152
/quora-question-pairs/Model.py
0616eae7ed7f71ac72faf6cf5a75f06b53036b5d
[]
no_license
tyxr/my_tensorflow_code
c1e24eb3dc628b26ed7aeed92dcc3e0f8143fb0f
860acaee74a8ca6edcaf0ad3121399a94b79643e
refs/heads/master
2022-01-10T17:45:30.339149
2019-05-08T03:18:24
2019-05-08T03:18:24
106,514,006
1
0
null
null
null
null
UTF-8
Python
false
false
5,393
py
import tensorflow as tf from tensorflow.contrib.rnn import LSTMCell, DropoutWrapper from tensorflow.keras.layers import Embedding,TimeDistributed,Dense,Lambda from Process_data import print_shape import numpy as np class SimpleNetwork(): def __init__(self,num_words,embedding_dim,sequence_length,n_classes,L2,hidden_...
[ "xingkai@icarbonx.com" ]
xingkai@icarbonx.com
7d718cf991da1edadb32ecc20b535482d1412c2f
9c6e055fc8c15d5a2e1dbec40cf2ab6534b49793
/nourisher/settings.py
264a24d78a7ca4f660a040e60b4b486ec63c91ab
[]
no_license
hnykda/nourisher
0d70bac6a19ed95656e7ef51a4bb18e8b4aae9d2
6049d5b47c9004b3badfee89bcf7c259c84c4442
refs/heads/master
2021-01-20T16:12:04.940861
2015-07-27T16:42:04
2015-07-27T16:42:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import logging log = logging.getLogger(__name__) """ Created on Dec 22, 2014 @author: dan """ """ Here is possible to set customizables - global variables """ ### DATABASE ### DB_IP = "localhost" # IP where is MongoDB running DB_PORT = 5432 # port where is database running DB_NAME = "testdb" # Name of default da...
[ "kotrfa@gmail.com" ]
kotrfa@gmail.com
be9bfbbae588fe4bff415889569809c937fc371a
c6ac57175975de3353faee0c2f1f796e2cd16a16
/bot1.py
4ee830465388df215de35511828cc2758ed29857
[]
no_license
3rdmonth/env_pizzabot
9c37062567dbdd010b40d1eb19de91f96cdd9b9a
ebe8bdad23206514a5f7ac3c6a3fca3b302bde78
refs/heads/master
2022-12-14T14:23:47.930610
2018-09-29T18:22:03
2018-09-29T18:22:03
150,890,812
0
0
null
2021-06-01T22:42:00
2018-09-29T18:12:21
Python
UTF-8
Python
false
false
689
py
import requests url = "https://api.telegram.org/bot645781983:AAHslgjt-LRnVX57f-40hlQwQMBC-oYoQtc/" def get_updates_json(request): response = requests.get(request + 'getUpdates') return response.json() def last_update(data): results = data['result'] total_updates = len(results) - 1 return result...
[ "vas.viktorov@ya.ru" ]
vas.viktorov@ya.ru
ddc6ecb74c82d9731a0332ca8a4960eb0ace0285
b78b3cb27b84b79246dd24b88108a50d7e52edb6
/pprzrest/mSimProcMon.py
8c89289003c555db1ba0caef5ff130560f99494f
[]
no_license
savass/paparazzi_box_frontend
93012f2f0919785c41b5a14509c1a6103f1605ce
1b91659b890d16f897b63dc224836af29d0d2f06
refs/heads/master
2021-01-25T07:34:31.278819
2015-04-22T13:43:44
2015-04-22T13:43:44
34,392,545
0
0
null
null
null
null
UTF-8
Python
false
false
5,442
py
#Simple monitoring tool to watch agents import time from threading import Thread import fcntl import os from mProcessHolder import ProcessHolder class SimProcMon: ProcessDemonThread = None RunProcessDeamon = True ProcessList = [] ProcessOutput = "" def __init__(self, Logger, SocketIo=None): ...
[ "sen.savas@gmail.com" ]
sen.savas@gmail.com
f67485b6750b8322f509252eb0862cc7b39aa952
38c4f683d6fe10d671834549fe80406b1de75ced
/api/users/migrations/0001_initial.py
830889b99ddfc74ce22d6d468ae8a4c0f8853664
[ "BSD-2-Clause" ]
permissive
charles-vdulac/django-rest-skeleton
1a3b05e349eaad82e0e99477aedc8dad4ff1698a
2e621c030046f317b01359b716dae2120e1f7525
refs/heads/master
2020-12-24T10:53:55.305379
2014-06-12T13:09:12
2014-06-12T13:09:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,961
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): needed_by = ( ("authtoken", "0001_initial"), ) def forwards(self, orm): # Adding model 'User' db.create_table(u'user...
[ "sebastibe@gmail.com" ]
sebastibe@gmail.com
284cf89f5485e9276d982fb582c9377e25489e30
920a5a8df0a6afbdcc1363fb74292074dec3b516
/tf2onnx/rewriter/random_uniform.py
23c450964d2db499b4dcc134d45f931bca7fd276
[ "MIT" ]
permissive
anttisaukko/tensorflow-onnx
a674a6ce0002912c42914a69e8333b379391af46
1341bdf476df6023b75bc6b3c6e4cda00cc58a29
refs/heads/master
2020-04-08T21:17:35.616038
2018-11-28T14:47:27
2018-11-28T14:47:27
159,737,860
0
0
MIT
2018-11-29T22:54:42
2018-11-29T22:54:41
null
UTF-8
Python
false
false
3,044
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT license. """ tf2onnx.rewrite - rewrite tensorflow subgraph to onnx random_uniform op """ from onnx import helper from tf2onnx.graph import Node from tf2onnx.graph_matcher import OpTypePattern, GraphMatcher from tf2onnx import...
[ "pengwa@microsoft.com" ]
pengwa@microsoft.com
b02ec88d3c3a9fda595bfaded4054a2a7b2b905d
a1ff3c1e1f633f8c793c69214bf70ed6321891f2
/frequencyAnalyzer.py
b163360268f399de2fb79d30583ca65f3292d0bb
[]
no_license
yanone/frequencyAnalyzer
6f857a72a5e3a2b64b01a99816dd6ac33c3580be
0312f21a0662db3524382f80b88dea28d437cd65
refs/heads/master
2021-09-23T03:26:46.349196
2018-09-20T08:39:43
2018-09-20T08:39:43
115,872,586
4
0
null
null
null
null
UTF-8
Python
false
false
12,520
py
import plistlib import threading import pyaudio import numpy as np import wave import audioop import time, os import math import json import wx from ynlib.maths import Interpolate #from pysine import sine ############################################################### frequencies = [] interpolatedFrequencies = []...
[ "post@yanone.de" ]
post@yanone.de
80d37d02b7af083195de59d9af45ee86907bdc6d
06651ac98fd2e89fa9a6b48fe536e5b93172909d
/object_decorator.py
e6dbf69910053c38780b152039108f16845707d1
[]
no_license
stephclleung/Worksheet-Generator
3c8e5d8d4e022c30073ea2d67074732074c3afc2
e3c5226db1ce949f1a2f22448b2bdadd493786f3
refs/heads/master
2020-04-12T10:14:38.948411
2019-02-25T07:34:43
2019-02-25T07:34:43
162,423,619
0
0
null
null
null
null
UTF-8
Python
false
false
2,559
py
# Objects - Decorator Pattern # # Stephanie Leung (2019) from random import randint from numpy.random import choice import nouns_gen as nouns_gen import adjective_gen as adj_gen DEBUG = False class AbstractObject: pass #Simplifying for now but may need to add in more later. class Noun(AbstractObject): def __init...
[ "iLoveSalmon!1" ]
iLoveSalmon!1
5b17fbdae955c7e13c8c9c2642f0d53af96add6b
03f00d55672f0cd1edf2a5e5aacb4896aee624a9
/company/models.py
d28c471e7823cccb51433b71f60d03287a7ee2c9
[]
no_license
progiri/aiu_site
fe34cb884f01010e522855ade73c0a3be6476f02
17e81163c12d4861500d8d7d8e0207ded144f305
refs/heads/main
2023-06-11T15:04:50.658387
2021-06-29T04:17:17
2021-06-29T04:17:17
378,497,650
0
1
null
null
null
null
UTF-8
Python
false
false
1,524
py
from django.db import models class Location(models.Model): title = models.CharField( max_length=255, verbose_name='Название' ) class Meta: verbose_name = 'Местоположение (город)' verbose_name_plural = 'Местоположения (город)' def __str__(self) -> str: retu...
[ "yerassyl.ak@mail.ru" ]
yerassyl.ak@mail.ru
cdede1a5eecbcfedafb5177344e00ab2dc3e9821
a65e5dc54092a318fc469543c3b96f6699d0c60b
/Personel/Yash/Python/april5/prog5.py
a9186b792a3f46d892bdf941b3d00acb7fecf2ff
[]
no_license
shankar7791/MI-10-DevOps
e15bfda460ffd0afce63274f2f430445d04261fe
f0b9e8c5be7b28298eb6d3fb6badf11cd033881d
refs/heads/main
2023-07-04T15:25:08.673757
2021-08-12T09:12:37
2021-08-12T09:12:37
339,016,230
1
0
null
2021-08-12T09:12:37
2021-02-15T08:50:08
JavaScript
UTF-8
Python
false
false
281
py
# To delete a file, you must import the OS module, and run its os.remove() function: import os if os.path.exists("demofile.txt"): os.remove("demofile.txt") else: print("The file does not exist") # To delete an entire folder, use the os.rmdir() method: # os.rmdir("myfolder")
[ "malavade47@gmail.com" ]
malavade47@gmail.com
adfd6bfcac5e5eed8bffd7e1f79d115c31bb2607
da04aa71c2802fa6f9c1fd463f31ad4e4e514df9
/heartbeat plot.py
dba47c3bd4c508f9c1ad21e9e5c136d7508d4c77
[]
no_license
JayDosunmu/shield
e698dde7de57277d361e212c41ea986c0c7f21ad
89f9444f6f98f06db0c04858f1b2bee1ce01ca43
refs/heads/master
2021-01-17T09:46:29.085320
2017-03-05T18:52:47
2017-03-05T18:52:47
83,992,746
1
0
null
null
null
null
UTF-8
Python
false
false
509
py
import plotly.plotly as py import plotly.graph_objs as go import pyrebase import time config = { "apiKey":"AlzaSyBcPkjp50hVFQj3jL7NdCMul0Cw9jP5gkc", "authDomain":"hacktech-12dad.firebaseapp.com", "databaseURL":"https://hacktech-12dad.firebaseio.com", "storageBucket":"", } fb = pyre...
[ "tjdosunmu@gmail.com" ]
tjdosunmu@gmail.com
56255c3a178b2823db3fdb697e972ac01d1e2f03
3a5dab20e575c9d6d1f671faba7da8f6085d9ed8
/RepositorioInfo/chacoferia/apps/inicio/views.py
eab1b18c67ddcafd6cb4c9da16ca566ff43dd7c6
[]
no_license
Diego-Caza/ProyectoFinal
77cb45310375e31c2924b10ecd2dfad9533f2982
47ce682027d4230a494e4b875367a65e386a0746
refs/heads/master
2022-12-19T12:35:49.020185
2020-10-01T16:37:31
2020-10-01T16:37:31
300,335,385
1
1
null
null
null
null
UTF-8
Python
false
false
455
py
from django.shortcuts import render from apps.publicaciones.models import Producto from django.views.generic import ListView, DetailView, CreateView # Create your views here. class Populares(ListView): model = Producto template_name = 'inicio/inicio.html' queryset = Producto.objects.order_by('-id')[:4] class Popu...
[ "cazadiegoy@gmail.com" ]
cazadiegoy@gmail.com
e9a4c0ee8774a16092863b3972e7e903593cac32
492cb86b533bc74962a0e25ad190dab131f7cb09
/humanScape/urls.py
d66fdef307d8290976f7ee67668986092280f3c9
[]
no_license
acdacd66/humanscape
75f27815f6c1ac5975b3822e5abc5738aa9b3118
6fbeeca3346569c7f861bbffcbec731a6a9d6e51
refs/heads/main
2023-09-02T01:55:49.806746
2021-11-16T17:29:36
2021-11-16T17:29:36
428,570,173
0
1
null
2021-11-16T11:22:32
2021-11-16T08:10:30
Python
UTF-8
Python
false
false
820
py
"""humanScape URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Class-ba...
[ "you@example.com" ]
you@example.com
f73086d0105b3dbd3762dcdd037934533567ee3a
3f8ef6ce1c878e6aa358714ea3c85a988de8948f
/Evolution Software Engineer/tenth_year.py
c97bbc78b102ba361ad8c494668ff7c884f5cee6
[]
no_license
gchacaltana/PythonToolkit
1ae320bb091996a5214fc446345f115cdcb28202
05d683fb5170294e95f4d42ed5bbe96135e9538e
refs/heads/master
2022-03-08T02:47:04.823608
2022-02-11T23:11:22
2022-02-11T23:11:22
24,420,758
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Programa que imprime en pantalla el mensaje Hola Mundo""" __author__ = 'Gonzalo Chacaltana' __email__ = "gchacaltanab@outlook.com" class HelloWorld(object): def __init__(self): print ("Hola Mundo") obj = HelloWorld()
[ "gchacaltanab@gmail.com" ]
gchacaltanab@gmail.com
1aaceb54e5b237cd1f0061a9184ee10f4afd7a63
cba5017525d30f84f4555bc0e10f1f83126f1d4a
/PowerClient/bin/main.py
2b7af5a8bdb8d84c2687ddb6d2eed2ca8d1375e7
[ "Apache-2.0" ]
permissive
cycmay/SolarS
66e97a0de6b459f8bb05b03c2690d9852d92209a
284bcafa5da210e5c4200d19e46b3fa6bb5acb20
refs/heads/master
2020-05-23T18:09:09.760666
2019-05-24T15:42:25
2019-05-24T15:42:25
186,882,616
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ 完全可以把信息收集客户端做成Windows和Linux两个不同版本。 """ import os import sys BASE_DIR = os.path.dirname(os.getcwd()) # 设置工作目录,使得包和模块能够正常导入 sys.path.append(BASE_DIR) from core import handler if __name__ == '__main__': handler.ArgvHandler(sys.argv)
[ "1769614470@qq.com" ]
1769614470@qq.com
3daab6c956e8d126316ecdb6ef6e71d8af6a258d
1c8a1b7cfb5c78fe94c4cc62a78dbfff96161924
/day05/test04.py
7715b05a49b005d9cad71dc19124fa6797945c72
[]
no_license
WHUTyuen/PIL_opencv
d264858f0eaa4ecc555747efd5f277f48a432b91
3ae6e7d878215866c304e64eac05bf1011ecb428
refs/heads/main
2023-01-01T14:00:33.331676
2020-11-01T11:35:18
2020-11-01T11:35:18
309,072,309
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
import cv2 import numpy as np A = cv2.imread('3.jpg') B = cv2.imread('4.jpg') G = A.copy() gpA = [G] for i in range(6): G = cv2.pyrDown(G) gpA.append(G) G = B.copy() gpB = [G] for i in range(6): G = cv2.pyrDown(G) gpB.append(G) # generate Laplacian Pyramid for A lpA = [gpA[5]] fo...
[ "noreply@github.com" ]
noreply@github.com
79feeaca9b02f648fa48495c3481b1b1940c3057
406abf223c6eaca3ec4741e7136cfc2fe819022b
/api/utils.py
d778f462a585c6d1f73e13507c6ed37c3e75ed4a
[]
no_license
WarrentLee/ImgChangeServer
e068132e2430863698870038d2627a79e2bb51b3
14e9658e75ab2eebe0cbafa119410ec2c6200321
refs/heads/master
2022-10-07T15:36:03.136973
2020-06-10T01:41:50
2020-06-10T01:41:50
269,850,341
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
from flask import Flask from database.model import db import os, json from config import Config def create_app(name): app = Flask(name, template_folder='../templates') # app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv('DATABASE_URL', 'sqlite:///' + os.path.join(app.root_path, 'data.db')) print("Database...
[ "1065791740@qq.com" ]
1065791740@qq.com
868e5aecbeb632ef54b45e30b589b06ef555afab
8a8dc992231e30f70e2eb645a2d869a730d3c052
/backendvfinal4.py
c2f42ef346ee5a8a29839e1e19c4f4175b16f97a
[]
no_license
severlove/backend_project
111c3f34fb9891f6a1e0f02cab6530e099215dca
48c3f2c0d2c7ff6bd5d520303eda4deff229611e
refs/heads/master
2020-04-27T07:53:17.313968
2019-03-07T16:37:09
2019-03-07T16:37:09
174,151,363
0
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
#!/usr/bin/env python3 import psycopg2 def top_3_articles(): '''Print top 3 articles of all time''' db = psycopg2.connect("dbname=news") c = db.cursor() query = """SELECT articles.title, count(articles.title) as num FROM articles,log WHERE articles.slug = SUBSTRING(log.pa...
[ "noreply@github.com" ]
noreply@github.com
3f17973dce3bd98e0003d899e9f727b81dc0574e
27767ea4ec9cb4b3d8a3ba31c9e668957d3f900c
/tools/statistic.py
4606f091b46a67087b07c966d225389bbf7ff6f9
[]
no_license
01ghost13/smartyPantsBot
8609dd71bfaf0ace1d137cc7bbe4cf87e6b9f1b6
bc8943b416e42be263cc617c17e702b978aeab8b
refs/heads/master
2020-04-10T07:27:03.989421
2019-05-12T12:55:38
2019-05-12T13:04:55
160,880,698
0
0
null
2018-12-16T14:52:15
2018-12-07T22:12:11
Python
UTF-8
Python
false
false
666
py
from tools import Database class Statistic: smile_count_sql = """ select e.name, e.discord_id, count(e_m.id) as smile_count from emojies as e join emoji_messages as e_m on e_m.emoji_id = e.id join messages as m on m.id = e_m.message_id where m.channe...
[ "orkich@gmail.com" ]
orkich@gmail.com
38840ebcb8cb679446cceb6b8beace276bf9b1a7
415e9349304a1fc2555a55ff0e3caff3fce26e68
/hydrogen_atom.py
214b1a0a8884d76d855e9fc4a7fc2faa8d7bf7eb
[]
no_license
einathauser/tau-dmc-2017
9a3ba554e5565628c227c8ba04167ef8790f6571
154a953b5905545739908f4216e33b2204c151ff
refs/heads/master
2021-01-23T09:39:49.761259
2017-09-13T13:12:54
2017-09-13T13:12:54
102,589,773
0
0
null
null
null
null
UTF-8
Python
false
false
3,560
py
import numpy as np import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation import matplotlib.mlab as mlab MAX_X_SIZE = 1e6 def sample_bins(x_max, x, n_boxes): r_max = np.sqrt(float(3*x_max**2)) radius = np.array(np.sqrt(x[:, 0]**2 + x[:, 1]**2 + x[:, 2]**2)).astype(float) bins, _ = ...
[ "ehauzer11@gmail.com" ]
ehauzer11@gmail.com
072124f7bf3fc900a33e0ea67e58898b947b9d5c
87998e751e753dd4d75848ee292631d96b71d608
/aoc/year2020/day2.py
c37501a97f7ff8492b062238bfec7e3aaeb5d164
[ "Unlicense" ]
permissive
ongyx/aoc.py
7da09592985c6688fb766f6c4b80526f51d2c290
48d23b2611384cf87b2722d6fd65728bb950c3f9
refs/heads/main
2023-01-31T07:50:44.349391
2020-12-16T03:43:06
2020-12-16T03:43:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
# coding: utf8 import re from aoc import aoc # We use a regex to parse each line, in the format: # (min)-(max) (letter): (password) # For part 2, we need to fidde with the Boolean logic abit. RE_POLICY = re.compile(r"(\d+)-(\d+) (\w): (\w+)") class Problem(aoc.Problem): def solve(self, part): vaild_cou...
[ "ongyongxin2020@gmail.com" ]
ongyongxin2020@gmail.com
98872d68f0a8214b87de5d704fb379cb99c72671
6f76052e2a1161b8a728dd6fff6dfafd107c6c57
/Kuznechik.py
58c46f3b1ea4e3f98d1464f74da175e13cfeeead
[]
no_license
mratnikov/Rain
e33ed9bf51a0eebd8a4cd1e8c6f039fc511658bf
a11c662a87647078141fb213379c544b258881fc
refs/heads/master
2020-03-24T11:59:53.650407
2019-03-14T17:38:23
2019-03-14T17:38:23
142,700,601
1
0
null
null
null
null
UTF-8
Python
false
false
100
py
F = [0] * (n + 1) F[0] = 1 F[1] = 1 for i in range(2, n + 1): F[i] = F[i - 2] + F[i — 1]
[ "mratnikov@gmail.com" ]
mratnikov@gmail.com
f25d084d56d88bcd33d43a1a0ea324541f6d799f
ae9ff58a96682e57da9b6a1376db7ece5d84baa2
/contrib/bulk_operations/bulk_operations.py
005659e1475c3241682c87ea583fa35188da1cdc
[ "MIT" ]
permissive
simozhan/product-definition-center
0ca1fde76c9c80368e3116dd68465fe91a290c7f
55c2de179cf4169213c8a8bd81977e0cdc8ee350
refs/heads/master
2021-01-22T16:05:30.731848
2015-07-24T04:46:16
2015-07-24T04:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,001
py
# # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # """ This module provides BulkRouter that extends the registered ViewSets with bulk operations if they are not provided yet. To display documentation in the browsable API, it is necessary to provide a method `bu...
[ "lsedlar@redhat.com" ]
lsedlar@redhat.com
4cf93fc1cb9c2a0a2877f9616693f8488607baa0
10e8c5f2f917fd091b0bab7aed18f4130039fa86
/day_7_2.py
71299c297d0081f51e139cc688aec2245d0f6f76
[]
no_license
DannyBarbaro/AOC_2019
9383a2f14c50cbed9c359fff5f62edd291e1da77
e1b7948ebc76af9e5bab076c18a6140e54e54f64
refs/heads/master
2020-12-03T17:56:23.228622
2020-01-02T16:30:14
2020-01-02T16:30:14
231,418,989
0
0
null
null
null
null
UTF-8
Python
false
false
3,312
py
datastream = [] def get_value(val, mode, data): return data[val] if mode == 0 else val def oppcode_1(val_1, mode_1, val_2, mode_2, result, data): data[result] = get_value(val_1, mode_1, data) + get_value(val_2, mode_2, data) return data def oppcode_2(val_1, mode_1, val_2, mode_2, result, data): data[result] =...
[ "dxb486@case.edu" ]
dxb486@case.edu
27c38c01ec059532373e8cd03289ccde4ded2e1d
f0f3f8731145e236e8e08dafb4201108d35af488
/wish_list_items/migrations/0007_auto_20160414_1317.py
8478f0d9cfbb5235617279dac1587637337832db
[]
no_license
AaronScruggs/wish_list_project
49fdfc9c3a9e72470084bbf283085c15aa659a3e
a2a741823e0a570390ce344f3407f6f3b57f2590
refs/heads/master
2021-01-01T05:18:10.817456
2016-04-19T00:36:24
2016-04-19T00:36:24
56,259,190
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-14 20:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wish_list_items', '0006_auto_20160414_1312'), ] operations = [ migrations.Al...
[ "aarondscruggs@gmail.com" ]
aarondscruggs@gmail.com
276ee2323e5bd2b36459c096005c556b3732ee1f
6832a7fa70fc98f62b777421fca13989b8e2e1e9
/greeting_decorator.py
6254f95fa5c91f95649dcbfae0570d84bbd5cc75
[]
no_license
serdarayalp/my-python
f553df88b284528dddd245557935f349b34df963
1e23e6b9cccdeb96f3bfd9a0812638dd8c02c189
refs/heads/main
2023-02-28T00:39:24.691917
2021-02-06T08:53:30
2021-02-06T08:53:30
330,440,789
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
from functools import wraps def greeting(func): @wraps(func) def function_wrapper(x): """ function_wrapper of greeting """ print("Hi, " + func.__name__ + " returns:") return func(x) return function_wrapper
[ "serdarayalp@googlemail.com" ]
serdarayalp@googlemail.com
8104871522b317d80e9b8bcd58d1d04195096050
57385c8ae2b10d01c2dede1d69f1887d8a8a7ac0
/manage.py
001c29815eafae252644ec0a25538483b622b402
[ "MIT" ]
permissive
bruno-dash/teste-5
151efb6558168c20d3320c510893a922e2d68ee1
484cc065673fe859cda571b208be79d82368eeae
refs/heads/main
2023-08-19T01:37:10.334089
2021-10-16T23:27:45
2021-10-16T23:27:45
417,916,703
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'teste5.settings') try: from django.core.management import execute_from_command_line except Impor...
[ "bonofre36@gmail.com" ]
bonofre36@gmail.com
8424d48df45764507a31d8a1ab65bd44b3544d9b
aa2210cbc53e2892f2d7192085433950879b3e93
/file_summary_1.py
a2aa31b77215d790056587eed7df6145cb8b9d87
[]
no_license
6188506/LearnPythonHardWay
dddc9f076902e94ba1cbff24142237ea7cdeeb28
bd071a6602a1cde297209fa2339ebe3d96da6441
refs/heads/master
2021-01-20T04:11:36.536522
2018-05-03T09:01:38
2018-05-03T09:01:38
89,654,909
1
0
null
null
null
null
UTF-8
Python
false
false
202
py
#from sys import argv #script, destination_file = argv #print script #print "read file from ex1 to ex41,and write to a argv file" x = 6 print open('e:/learnpythonhardway/ex'+str(x)+'.py','r').read()
[ "6188506@qq.com" ]
6188506@qq.com
3d4eeac4dc2bacb190a2ec396de0cfce8de00b15
902215df8f073b83b5815657d7b69fd6d67c8b5f
/kkd/views.py
00c6807b8480442a788fd0a2ca628a9bf47f4ca8
[]
no_license
k821209/KKD_GO_DB
e7643209da7d33cc1eee1395430046fd41199af7
9745dcb2c2a62db08b239716dfc4f3581200bb8c
refs/heads/master
2020-04-07T05:48:01.054782
2018-05-02T05:48:47
2018-05-02T06:33:00
124,186,255
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from django.shortcuts import render def show_go_list(request): return render(request, 'kkd/go_index.html',{}) # Create your views here.
[ "kangyangjae@gmail.com" ]
kangyangjae@gmail.com
d3d12734a381e7185f0368cdd0b926088c0b7116
648f5819d70686852720d6b598b66ea37cc49b71
/setup.py
1a9e1c6cd8a870c6d9ed3796176d7514507caf98
[ "MIT" ]
permissive
itoldman/chinese_province_city_area_mapper
88981f1e74507ac3cdd8ff0b60a7b5716bb701f4
7d7537a412dc1c543f3481f5520b3c75cf49ebb0
refs/heads/master
2020-03-30T12:46:11.678976
2018-09-26T17:59:50
2018-09-26T17:59:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,033
py
# -*- coding: utf-8 -*- from setuptools import setup LONGDOC = """ chinese_province_city_area_mapper ================================== chinese_province_city_area_mapper:一个用于识别简体中文字符串中省,市和区并能够进行映射,检验和简单绘图的python模块 举个例子:: ["徐汇区虹漕路461号58号楼5楼", "泉州市洛江区万安...
[ "932087612@qq.com" ]
932087612@qq.com
371f634ce0aaff313e172b3b8cd67e6b98119edc
cdcaf074da4a38c2d653705225e8578e5c8a1372
/爬取天气.py
03c682424390894b35734bd1d8e09a7017f5d30c
[]
no_license
475271359/TST
f71b8632ae06f3963e9b440d8c26885fe6b9be58
d9cbd24bab66f4f92718f424a40345ae3944695c
refs/heads/master
2020-11-26T04:25:04.989105
2020-03-10T03:37:27
2020-03-10T03:37:27
228,964,176
0
0
null
null
null
null
UTF-8
Python
false
false
3,268
py
""" 目标网站: 2345天气网站 总目标:爬取北方大区所有城市的历史天气。 阶段性目标:爬取山东济南过去一年的天气数据。 输入内容: 分析网站: 待爬取页面:http://tianqi.2345.com/wea_history/54511.htm 待爬取数据:数据在js里面,http://tianqi.2345.com/t/wea_history/js/202001/54511_202001.js 构建循环,用request库,批量下载。 处理内容: 不是标准的json, 实现返回的javascript解析,得到目标数据。 对于javascript的json如何解析? 使用tqInfos = demjson...
[ "noreply@github.com" ]
noreply@github.com
f5a8345f6e04ba694a886993167e2ae60ef1dcd4
8a6a96d487a0933293a563b04c24d08907608920
/app/auth.py
85c5eecc234752549804a0b229487c55dc6041ed
[]
no_license
shuxue051/ninja
21ec07318f8c868e61659b977edce1ebdefc8e97
ccb9724ff6329b82e18f839bb76246cae899fe99
refs/heads/master
2021-01-10T21:04:20.004674
2014-09-24T02:50:25
2014-09-24T02:50:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,941
py
import os, datetime from flask import current_app, Blueprint, render_template, abort, request, flash, redirect, url_for from jinja2 import TemplateNotFound from app import login_manager, flask_bcrypt from flask.ext.login import (current_user, login_required, login_user, logout_user, confirm_login, fresh_login_required)...
[ "shuxue051@gmail.com" ]
shuxue051@gmail.com
4816b6ce56b6ba10760fc6ec50b511666a0ef942
c0f5d309576f791f8cc062e2d0cad340eec41d7d
/3.py
846552142673f67774ae9cc5803b41248ec09248
[]
no_license
mjjin1214/algorithm
fa91455ab792c38d01fd210c12e53e50f516eb55
423119406061443939b4b966c7d9f1513544dd03
refs/heads/master
2020-04-22T19:31:23.981387
2019-04-05T07:58:10
2019-04-05T07:58:10
170,610,108
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
import sys sys.stdin = open('input2.txt') def subset(n, su): global visit, count if n == len(score): if not visit & (1<<su): visit ^= (1<<su) count += 1 return subset(n+1, su+score[n]) subset(n+1, su) T = int(input()) for t in range(T): N = int(input()) ...
[ "moc0etan@gmail.com" ]
moc0etan@gmail.com
a19dea9f4e498c18ae262efb60f03b1b275e63ba
f43df719ae5cc238c450f01959e4cb3625ae1c82
/config_make.py
d96d27bb8e73dd8fb5491ba43c7d0623f1a1fee9
[]
no_license
kenshow8/eth_erc20_token_python_api
8f10e5aaa503730b4abc66ebd8f1779b97e021f0
4390d47bcb574205230fefb8cb9b2e4b238ac27e
refs/heads/master
2022-09-29T14:09:10.058167
2020-05-31T08:08:14
2020-05-31T08:08:14
268,100,598
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
# coding:utf-8 import os import configparser from pathlib import Path file_dir = Path(__file__).parent file_name = 'config/setting.ini' file_path = file_dir.joinpath(file_name) config = configparser.ConfigParser() # コントラクト設定 config_web3 = 'web3_config' config.add_section(config_web3) ## web3 設定 ## config.set(confi...
[ "wmapp.kj@gmail.com" ]
wmapp.kj@gmail.com
2f4d530d9958802e44c5a71b92bc8a6bf4fd5a84
0149c07b7c1bdd2d56aecf9934e16ec9c5b163c7
/oc_ocdm/test/storer/test_storer.py
5be49fe468ed9e80b576ea191f16708cec2154aa
[ "ISC" ]
permissive
opencitations/oc_ocdm
fac6903403b4149cafd080a88d761ebb44fb91cf
26298e81fd4903ad60edb1d824f2c7abbdc88656
refs/heads/master
2023-07-07T23:53:38.396919
2023-06-22T15:20:16
2023-06-22T15:20:16
322,327,342
2
6
ISC
2023-03-14T08:41:54
2020-12-17T14:56:50
Python
UTF-8
Python
false
false
11,370
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2016, Silvio Peroni <essepuntato@gmail.com> # # Permission to use, copy, modify, and/or distribute this software for any purpose # with or without fee is hereby granted, provided that the above copyright notice # and this permission notice appear in all copies. ...
[ "arcangelomas@gmail.com" ]
arcangelomas@gmail.com
587c0100e02d4abc95b9fb79c169f06d3ed8b47b
891c267df1228d42153ff1a36d6b92b58a32f435
/schemes.py
ad91237c7020256b802593dc48fb3b750e821042
[]
no_license
ellawang44/numerical-advection-eq-MATH2306-
eaa6be239e1d27f1aed2cb29bba4fdfde305a081
de410631ec9d2fcb68c7aa2405f2cd785cb1c604
refs/heads/master
2021-07-21T12:17:50.392999
2017-10-25T02:15:15
2017-10-25T02:15:15
106,899,828
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
def ftbs(jn1, j, C_r): """Forward Time Backwards Space Scheme""" return j - C_r*(j - jn1) def ftcs(jn1, j, j1, C_r): """Forward Time Centered Space Scheme""" return j - C_r/2*(j1 - jn1) def ftfs(j, j1, C_r): """Forwards Time Forwards Space Scheme""" return j - C_r*(j1 - j) def lax_wendroff...
[ "u6083620@anu.edu.au" ]
u6083620@anu.edu.au
ae9c47cbad8ea97eded1a2947f4a8a01472b1951
be2fe3d75f5d08d44d207de42309aefac90f8c64
/O Big.py
02c8fc7d2f7e6ff0e6cb59e6ce33be3bbad2de42
[]
no_license
lucasilvabc/CS241
be18016862b420da0a7d44d9d6ab49aa76111e81
e94487a7d4b1e4b282de8df419fa2abad61f2087
refs/heads/main
2023-04-06T20:11:01.283402
2021-04-19T23:42:58
2021-04-19T23:42:58
344,626,769
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
def contains(haystack, needle): # Does the haystack contain the needle? for item in haystack: if item == needle: return True return False
[ "noreply@github.com" ]
noreply@github.com
f7bb5b008461cd4f51770163a3cf7e600d784405
81c5c07e1144747dc0e98f8dffb287a69be1eba7
/score_mcc_bin.py
686c4e86fcab42e4f12a69f6f893e59e1cfe31ee
[]
no_license
twistedmove/e2e_antispoofing
acbb9ec5bc4454c1698fc355d0c0fee3bf70006e
686dfb515b2c568a1006136f56bbaad0419f0787
refs/heads/master
2020-09-07T10:41:12.024794
2019-10-06T19:28:19
2019-10-06T19:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,454
py
import argparse import numpy as np import glob import torch import torch.nn.functional as F import os from kaldi_io import read_mat_scp import model as model_ import scipy.io as sio from utils import compute_eer_labels, set_device, read_trials, get_freer_gpu def prep_feats(data_): #data_ = ( data_ - data_.mean(0) )...
[ "joaomonteirof@gmail.com" ]
joaomonteirof@gmail.com
6c1a65c48e423d27b57f75c12495f1387113b2df
3a4ecc7f7db23e92b7f8e406d3a73a77c53e1472
/src/chapter02/c2_df1.py
6026dc4be928099e2aae64f9481d1a1313b6da19
[]
no_license
Parthi3610/pandas_workbook
b89b768f2d99cb5f042accbaebc1470bc350565e
6e61f67db42ff708b6f40a9fb96b755085fe6587
refs/heads/main
2023-01-19T08:52:37.000264
2020-11-06T03:58:38
2020-11-06T03:58:38
303,878,391
0
0
null
null
null
null
UTF-8
Python
false
false
2,071
py
import pandas as pd import numpy as np movies = pd.read_csv("C:/Users/preet/PycharmProjects/pandas_workbook/src/data/movie.csv") movie_act_dir = movies[ [ "actor_1_name", "actor_2_name", "actor_3_name", "director_name" ] ] print(movie_act_dir.head()) print(type(movies[["dir...
[ "parthi_3610@yahoo.co.in" ]
parthi_3610@yahoo.co.in
ed321ee3351dd686798f469165a774a3b522d685
8541f96e5f48780050a7995ed735c70d4f3c2642
/test/test_validation.py
5fb04f8372aea80988cd6820c8839dc4e3d5c76a
[ "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
influence-usa/lobbying_federal_domestic
ede64752f81b6a8496a9f6b31b3f2a6c3a5f485e
117a1991e01a203c2c181c1c6163b044c4d5c56f
refs/heads/master
2021-01-02T23:02:57.140303
2016-11-30T22:47:46
2016-11-30T22:47:46
17,500,504
7
2
null
2014-05-08T21:32:29
2014-03-07T02:39:15
Python
UTF-8
Python
false
false
3,903
py
import json import pytest import validictory from utils.validate import validate_uuid, validate_url, validate_email @pytest.fixture def uuid_fixture(): data = json.loads(''' { "uuidInt": 117574695023396164616661330147169357159, "uuidHex": "054a4828074e45f2...
[ "blannon@gmail.com" ]
blannon@gmail.com
9872a4700e6e9c1bd2a6de233fa4c578321b2559
ac6fdcfe85b72bcf1b719bdea3ce7f9954217fd3
/zap_transformers.py
99dcb9b97c33bf38a861744f3fe4f97081fc6b5d
[]
no_license
giuice/ds-zap-challenge
084510963ee413b8d62aafcb600cfebd1b86d6e6
34eb56c1ee74d9af02a668522bb97fea1ac95c9e
refs/heads/master
2020-06-25T23:08:32.085580
2019-08-16T21:07:48
2019-08-16T21:07:48
199,449,612
0
0
null
null
null
null
UTF-8
Python
false
false
21,621
py
# Reference # import numpy as np import pandas as pd import warnings from sklearn.base import BaseEstimator, TransformerMixin from sklearn.utils.validation import check_is_fitted from base_transformers import BaseCategoricalEncoder,BaseCategoricalTransformer, _define_variables, BaseNumericalTransformer from sklearn....
[ "giuice@gmail.com" ]
giuice@gmail.com
e6ce7ed7be75cb36861a415589dd9916147d2c3b
17ed1b63dcc519c1ddf91d500e2b1e80c8cb338f
/Fixed_Income_Project/pricing_2.py
82ee24b37e9daa928d8f3fa6f694ec9230ef7465
[]
no_license
khorwei01/reinforcement
6834187814901b216317c2e2e29eed873a43b242
cfd2a151d1ecfae9f00ed658b45304ef0ff43046
refs/heads/master
2021-11-01T00:15:05.047005
2021-10-18T07:43:16
2021-10-18T07:43:16
238,147,407
0
0
null
null
null
null
UTF-8
Python
false
false
9,703
py
# -*- coding: utf-8 -*- """ FI part 4 @author: Archer """ import numpy as np import pandas as pd from enum import Enum from scipy.stats import norm from scipy.integrate import quad from scipy.misc import derivative from math import log from scipy.optimize import fsolve # discounting methods from part1 i...
[ "noreply@github.com" ]
noreply@github.com
cb1e1c4fd0adabebcd87bc33eefe453ec2df48fa
942ee5e8d54e8ebe9c5c841fbfdd1da652946944
/1001-1500/1443.Minimum Time to Collect All Apples in a Tree.py
e8ae7ff0deadce1de133f2d3d5feb31d43fde59a
[]
no_license
kaiwensun/leetcode
0129c174457f32887fbca078fb448adce46dd89d
6b607f4aae3a4603e61f2e2b7480fdfba1d9b947
refs/heads/master
2023-08-31T07:30:50.459062
2023-08-27T07:59:16
2023-08-27T07:59:16
57,526,914
69
9
null
2023-08-20T06:34:41
2016-05-01T05:37:29
Python
UTF-8
Python
false
false
728
py
from collections import defaultdict class Solution(object): def minTime(self, n, edges, hasApple): """ :type n: int :type edges: List[List[int]] :type hasApple: List[bool] :rtype: int """ graph = defaultdict(list) for edge in edges: graph[e...
[ "noreply@github.com" ]
noreply@github.com
d874e4f137ec4de13520364ebc883e120ec966a1
7f19038537cfafb2c725973d36ae0d1ae767995f
/Labs/lab10/lab10.py
378f26a0b28368e93b796d5f88913dbfcea81dc5
[]
no_license
aaeissa/UMBC-CS-201
f532684734543dd7a16698b61f1824443dfeb23e
c07a97469fc9c3a3b91e5228880abeb49918691f
refs/heads/master
2021-01-13T12:49:50.373730
2016-10-29T18:30:52
2016-10-29T18:30:52
72,298,768
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
def convertToDict(info): stateFile = info.readlines() myDict = {} states = "" for line in stateFile: states = line.strip() key, value = states.split(",") myDict[key] = value return(myDict) def main(): print("Welcomet to the State Abbreviator.") info = open("states.txt", "r") myDict ...
[ "ahmedeissa33@gmail.com" ]
ahmedeissa33@gmail.com
7afc92885276c205066adf4255d7d46f5f5e60fb
30f9e6a5f649b52b5d1a0ae606f44764038f6028
/pai-fs/fsimpl/Errors.py
0ad8850b971ccf904dbdae10d1b94181ddf962f7
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
unixcrh/pai
97d6ffe6ff16eecd91a8e5222c7f4b33efddb1aa
5c1836edc1db6e7d3b23ad2416fec309d48fc677
refs/heads/master
2021-04-15T09:12:25.198703
2018-03-26T09:40:39
2018-03-26T09:40:39
126,845,731
1
0
MIT
2018-03-26T14:59:16
2018-03-26T14:59:15
null
UTF-8
Python
false
false
1,449
py
# Copyright (c) Microsoft Corporation # All rights reserved. # # MIT License # # 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...
[ "v-yifxio@microsoft.com" ]
v-yifxio@microsoft.com
0866ea3ae0e864e61eef207ffc5ef2936d10b99e
9e6bab4664f9275896b510209a83d5917b4746e1
/apps/moca/migrations/0003_merchantprofile.py
7d57bdec7486b538d9b0c963255d7ab013ee3543
[]
no_license
manticarodrigo/moca
4a25215715a11b0a85d0ce65388b35df8c799eed
d8cce8dc5c88e8dc944bb7c5c89e11a86e009e03
refs/heads/master
2023-08-03T08:25:52.856943
2019-12-04T22:20:00
2019-12-04T22:20:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
# Generated by Django 2.1.10 on 2019-12-04 18:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('moca', '0002_device_auth_token'), ] operations = [ migrations.CreateModel...
[ "manticarodrigo@gmail.com" ]
manticarodrigo@gmail.com
8130572a3731398674da676762ba7c5a6251ef9f
79a23f55af0e8d4898714b7e210cadc88033a390
/website/views.py
eae6187e75e7acb17fd508e9063dcc70f47de1c6
[]
no_license
luoyueyaoqing/forum-website
be9bc7802d83a58abc3f802469287b3c2e11f44b
d5fbb14adf3a3e75f70df8f6eed397665f9c2d84
refs/heads/master
2020-03-25T10:01:16.533106
2018-08-15T08:48:55
2018-08-15T08:48:55
143,681,923
2
1
null
null
null
null
UTF-8
Python
false
false
3,756
py
from django.shortcuts import render, HttpResponseRedirect, redirect, HttpResponse from .models import User, Article, Plate, Comment from django.contrib import messages from django.contrib.auth import login, authenticate, logout from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.decor...
[ "shmilyfae@163.com" ]
shmilyfae@163.com
c2f2d9873572b84a36f2345329ebd77f92a88cbe
98e1716c1c3d071b2fedef0ac029eb410f55762c
/part15-statistical-thinking-1/No04-Bee-swarm-plot.py
0b503f7631dcaaedd5a7afe2edbda8d651de8a7c
[]
no_license
iamashu/Data-Camp-exercise-PythonTrack
564531bcf1dff119949cbb75e1fd63d89cb2779f
c72a4e806494f0e263ced9594597dc8882c2131c
refs/heads/master
2020-07-22T00:23:12.024386
2019-04-12T09:24:42
2019-04-12T09:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
#Bee swarm plot ''' Make a bee swarm plot of the iris petal lengths. Your x-axis should contain each of the three species, and the y-axis the petal lengths. A data frame containing the data is in your namespace as df. For your reference, the code Justin used to create the bee swarm plot in the video is provided below:...
[ "beiran@hotmail.com" ]
beiran@hotmail.com
f442cd7e453fbda6168780d39defdc6005872da8
576e36669d9012c244fe2f777314ba1a6d903277
/ChefAndPizza_problem_PCJ18G.py
fe82a5fe7766e9a759c1bf080cb7195945214b8b
[]
no_license
OlhaKuzaka/algorithms_python
cf26658e1f70491eda4cb636269c0373aed9f76d
14edacc8f0c0040fc95e9cae0e88515ac5293985
refs/heads/master
2020-03-26T10:37:50.018355
2018-08-15T05:03:23
2018-08-15T05:03:23
144,808,431
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
# All submissions for this problem are available. # Chef's pizza is the tastiest pizza to exist, and the reason for that is his special, juicy homegrown tomatoes. # # Tomatoes can be grown in rectangular patches of any side lengths. However, Chef only has a limited amount of land. # # Consider the entire town of Chefvi...
[ "o.kuzka@gmail.com" ]
o.kuzka@gmail.com
8c02b65c424703478a511dc63b5449224c33868c
d2d9ff977d8eb21420d6f3dc5f9476850ebcc5e9
/ABC_SMC_exponential_F5.py
1d9a14cf7871f9587428b409151c8bc433fd8962
[ "MIT" ]
permissive
GiuliaBell/ABC_SMC_codes
45d85fd22c2b36058f6a3b4cf66b0bc590209781
6587190456c9465a1cb056916d7502a1ea8d6330
refs/heads/main
2023-04-17T20:01:20.503306
2022-03-08T13:09:42
2022-03-08T13:09:42
467,183,547
0
0
null
null
null
null
UTF-8
Python
false
false
12,223
py
# Pyhton code to run the ABC-SMC algorithm to parametrise the exponential model with cell generations # making use of F5 T cells data. # Reference: "Approximate Bayesian Computation scheme for parameter inference and model selection # in dynamical systems" by Toni T. et al. (2008). # Import the required modules. impor...
[ "95767138+GiuliaBell@users.noreply.github.com" ]
95767138+GiuliaBell@users.noreply.github.com
15a3b3cd280903839a7706abb9e05c8e6621ad2a
837877c72a803fc62eea396e466dff36cffa5028
/dnnlib/submission/internal/__init__.py
52a7fce687d3906d061a6a76834e222143555b9b
[]
no_license
tantantetetao/StyleGANv2-Re-Implementation
55d6c9e98e2d98450734937133348acb197bf5d8
bfa0c410073863ab199cc5e5fbafb3dd2da35ea9
refs/heads/master
2022-12-12T23:32:53.423432
2020-09-14T07:26:27
2020-09-14T07:26:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://nvlabs.github.io/stylegan2/license.html # Cheng-Bin Jin re-implementation. from . import local
[ "jinchengbin@huya.com" ]
jinchengbin@huya.com
59a23d259eca385a7a14f82cc06da91203ce8f7c
9e30d4e6e14c5a57d99f80b28b59ee42f23fe4eb
/Listas.py
c1caff2066d60c415e7c5c3aedf552bd7ca108f7
[]
no_license
lukeencinas/EjerciciosExtraPython
408b1208f526a11a4ae214fd8c15b3fd31216626
e75378d8b0fb12684c5cfeba396a50d3ec030c1d
refs/heads/master
2020-05-09T18:25:33.295651
2019-04-14T17:04:31
2019-04-14T17:04:31
181,341,719
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
#1) e1 = ["F. de Computadores", "Visualizacion","Fisica","Quimica", "Historia", "Lengua"] # print(e1) #2) e2 = ["F. de Computadores", "Visualizacion","Fisica","Quimica", "Historia", "Lengua"] # for i in e2: # print("Yo estudio: "+i) #3) e3 = ["F. de Computadores", "Visualizacion","Fisica"] # nota = [] # for i in e...
[ "noreply@github.com" ]
noreply@github.com
c03967857b3abb3a4db4df537c2c4342ac393b68
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/scatter/marker/line/_width.py
108770c589b4e4605b6ff605e20647ef337325b7
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
465
py
import _plotly_utils.basevalidators class WidthValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name='width', parent_name='scatter.marker.line', **kwargs ): super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=pa...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
aaab34fc3d46736a9c6abdb2195fc43a0ba0f6f4
75f48cb18eb83fd4f9fd1c7dd0543fcaaf781342
/members/migrations/0029_profile.py
e7b48cc47f392bbf73ff5bb36412d5885b6a87dc
[]
no_license
trouvaay/trouvaay
f28a879e60de6212cbf30904c4471158c3907ebb
5440928238428c9e60be61e75910ad8d78866426
refs/heads/master
2021-03-27T10:11:09.602842
2015-06-05T22:06:28
2015-06-05T22:06:28
27,945,386
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import localflavor.us.models from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('members', '0028_auto_20150220_1922'), ] operations = [ migrati...
[ "sergey@lanasoft.net" ]
sergey@lanasoft.net
1161c6ec01e8bf8124199a123fc850feb16f7924
27c94d7e040902d3cdadd5862b15e67ec2ee4b6e
/exps/NAS-Bench-201-algos/DARTS-V1.py
67441af82a7bc2f760fa028163eb4ca9c8887773
[ "MIT" ]
permissive
D-X-Y/AutoDL-Projects
8a0779a7710d809af2b052787928d8d34c14d0d9
f46486e21b71ae6459a700be720d7648b5429569
refs/heads/main
2023-08-13T10:53:49.550889
2022-04-24T22:18:16
2022-04-24T22:18:16
168,538,768
989
197
MIT
2022-04-24T22:16:21
2019-01-31T14:30:50
Python
UTF-8
Python
false
false
15,785
py
################################################## # Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2020 # ######################################################## # DARTS: Differentiable Architecture Search, ICLR 2019 # ######################################################## import sys, time, random, argparse from copy im...
[ "280835372@qq.com" ]
280835372@qq.com
158c8395e7b37a739bbe7438d2a3fb3853747fb2
0b20f4ce14b9ff77c84cedbecbaa29831335920d
/tests/cloudformation/file_formats/test_yaml.py
76149f86216a57acc3de965d65a22daae34bad5a
[ "Apache-2.0" ]
permissive
sergesec488/checkov
219c1b3864ab4f70b39a4cd79b041e98f3145364
56008e1c531b3626f14716067731be6e673040bc
refs/heads/master
2023-04-10T12:26:49.749864
2021-02-26T18:36:52
2021-02-26T18:40:58
342,883,133
0
1
Apache-2.0
2023-03-30T13:31:25
2021-02-27T15:01:08
null
UTF-8
Python
false
false
681
py
import os import unittest from checkov.cloudformation.runner import Runner from checkov.runner_filter import RunnerFilter class TestYamlFileFormat(unittest.TestCase): def test_summary(self): runner = Runner() current_dir = os.path.dirname(os.path.realpath(__file__)) test_files_dir = cur...
[ "noreply@github.com" ]
noreply@github.com
cb73af820437abcd75867aff99c64c43744110ef
c2c1fffabcdbc81cedfd039a1090000ff70f6968
/Proxy/ProxyGetter.py
2243f29bd3d3d11d82bf42cdbb1e589307628c55
[]
no_license
nightstalkerx/ProxyPool
c92eafa9badc32bf085d44f9493e3b2a805bc602
3982b293f6091fae36f39cc0683ec47ebf2020d1
refs/heads/master
2020-04-21T23:25:11.544582
2018-09-05T11:01:16
2018-09-05T11:01:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
import sys sys.path.append('../') from Util.UtilFunction import get_html_tree from Util.WebRequest import WebRequest class ProxyGetter(): """ 代理获取类 """ def __init__(self): pass @staticmethod def get_proxy_one(): """ 采集:http://www.ip181.com/ :return: "...
[ "610426459@qq.com" ]
610426459@qq.com
9e2de46d09baa08db907b3cdb46d3b08b3da73b1
87b906a183d6cf7f041356c8ff5aa2ee59d03a09
/Day 3/Ticket for photo.py
5e9236eaea7dbf2d0f4cf341142f621033e8885c
[]
no_license
amitshrestha-15/100daysof-code
558635f50c26568fb6186bf648e2b783bbc7d7c1
16969e8562ed49a88fbe010e02e27108ff5470c7
refs/heads/master
2023-05-21T08:07:50.820307
2021-06-04T11:53:23
2021-06-04T11:53:23
373,150,913
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
print ("Welcome to roller coaster!") height = int(input("What is your height in cm?")) bill = 0 if height >= 120 : age = int(input("What is your age?")) if age < 12: bill = 5 print("Child ticket price is $5.") elif age <= 18: bill = 7 print("Youth ticket price is $7.") el...
[ "amitstha1234@gmail.com" ]
amitstha1234@gmail.com
7556cf1918258fe40c2aabedcaf970d5535e3a6b
7c926109cda8e59cef6abf097774c1d64c7f77af
/app.py
18bb8ed0dbd02ac640d073f871277c93e192c80d
[]
no_license
zahraEskandari/corona_dashboard
f27ee1091a24cf622d1f631712036387760e6327
4c881800369a9c3be390409e4d9d146fbd5858c2
refs/heads/master
2021-05-20T04:15:44.021841
2020-04-01T13:24:15
2020-04-01T13:24:15
252,181,036
0
0
null
null
null
null
UTF-8
Python
false
false
29,609
py
#from flask import Flask import flask import dash import dash_core_components as dcc import dash_html_components as html import pandas as pd import plotly.graph_objs as go import random import math import dash_table as dst from dash.dependencies import Input, Output import datetime import plotly # storing and anaysi...
[ "zahra.eskandari@gmail.com" ]
zahra.eskandari@gmail.com
f60987e55994a05e1fbf45fa4d8ded677baca05b
732374714ffe0e0f2c07a493a2ee71c9271fdce0
/mysite/settings.py
bcd771fb691401a56d55a3106a4ee650b115e261
[]
no_license
aaronahmid/mosunhomesrealtors
721fb20d671f1a58c64abc8bdf1209a5ab3236f1
561b56fd90179e163f0c861dae1d451cc1cfc662
refs/heads/main
2023-08-13T02:22:46.005517
2021-10-09T05:15:59
2021-10-09T05:15:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,269
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2.7. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os imp...
[ "thormiwa04@gmail.com" ]
thormiwa04@gmail.com
b29f5d7cbbd6924909c5ec897b40f7a01208f045
92115d37e1199a21367986cb97ddc64580432d34
/seq2seq/data_dial/create_dial_data.py
5f8bb9d4d1605857aa6028183a295eac6d35494e
[]
no_license
MasatoMiyoshi/tensorflow_tutorial
9575acb495ec16bb91fdbc8b9e22bee7b451ac0a
cc51632f818aa2e2c73400fb6348d108e41d66bf
refs/heads/master
2021-07-13T18:02:33.072835
2020-05-11T09:10:58
2020-05-11T09:11:27
129,721,097
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals, absolute_import import sys import os import codecs import re import glob import commands reload(sys) sys.setdefaultencoding('utf-8') dirname = "./json/init100" fh_u = codecs.open('src.txt', 'w', 'utf-8') fh_s = codecs.open('tg...
[ "mirasi1h@gmail.com" ]
mirasi1h@gmail.com
016624cd89be6e7f3e25cc65d992a04808dc6ae2
9d008ba29c32180518e03a58e5b3cb946c8a1d6c
/app.py
fdfaa5b29ad43f850c5077d83e2b36ee18fab768
[]
no_license
MikeCarbone/Personal-website
9f5f25e031ca8be939fa26df89b44b1da51be871
16540283128cc7b711886dfdf2b99abd7d3c9af5
refs/heads/master
2021-09-02T06:10:44.005130
2017-12-30T23:19:00
2017-12-30T23:19:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
import tornado.ioloop import tornado.web import tornado.httpserver import os.path class MainHandler(tornado.web.RequestHandler): def get(self): self.render('main.html') class tempHandler(tornado.web.RequestHandler): def get(self): self.render('underConstruction.html') settings = dict( template_path = os.path....
[ "mfcbone@gmail.com" ]
mfcbone@gmail.com
db053d106eb43e3318aeb6cca68e054a75650c83
77cc444d492545c322da1c7819e81a6542e3a6ff
/likes/models.py
b98a20354d3401cce7bab157417a960e8de39b09
[ "Apache-2.0" ]
permissive
PingLu8/django-twitter
3bd3a646c8d74179160f8fad11c1fa40018d59e7
ef5c47a9b2cd6796d67028946b2ed1c7b0af51be
refs/heads/main
2023-07-08T05:38:47.605500
2021-08-11T04:00:07
2021-08-11T04:00:07
361,040,505
0
0
Apache-2.0
2021-08-11T04:00:08
2021-04-24T00:58:36
Python
UTF-8
Python
false
false
1,320
py
from django.db import models from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey from utils.memcached_helper import MemcachedHelper from django.db.models.signals import pre_delete, post_save from likes.li...
[ "noreply@github.com" ]
noreply@github.com
b4cebd6904d477cd8224278ad3c87bbe2000ae9e
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/CreateRouterInterfaceRequest.py
f3794b0030c799277bdbb14c640f9f31c41bee1c
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,414
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com
93b57b5d8ab7beae315d919322890e775a1998e9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_188/ch78_2019_04_04_19_41_08_100209.py
61335cb39d3ea9f3ad223e32472973ee949e080e
[]
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
1,203
py
from math import sqrt def calcula_tempo(atletas): tempo_de_conclusao = {} for nome in atletas: tempo_atleta = sqrt(200 / atletas[nome]) tempo_de_conclusao[nome] = tempo_atleta return tempo_de_conclusao def atleta_mais_rapido(dicionario): menor_tempo = 0 melhor_atleta = "" for ...
[ "you@example.com" ]
you@example.com
40719b630af8856497ca0e697dd33dee816eeeb1
ac042704660f07263a9b7918c9d19e8027e2c01b
/qn 9.py
adc05564fc75215eb2d78a4b3c7011f3db70e44f
[]
no_license
Prashant414/python
23387f2d205ceb36f141e4b4529ff9c3e80d2679
f5ff2b280b4bf29df2723b9d1d16690e65aaf62f
refs/heads/main
2023-03-21T10:23:32.119726
2021-03-09T17:59:45
2021-03-09T17:59:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# Modify the above question to allow student to sit if he/she has medical cause. Ask user if he/she has medical cause or not ( 'Y' or 'N' ) anx=float(input("number of clases held")) x=float(input("number of clases held")) a=float(input("number of classes attend")) m=input("any medical issue type y or n") z=a/x*100 if ...
[ "prashantshyam09@gmail.com" ]
prashantshyam09@gmail.com
8effb973e9606af222d40da9faf37e6076c24cca
7dac8d38552a8f8eb401158ed3aabffaf8f23251
/gobotany/site/migrations/0008_alter_document_upload.py
c2b8ece6b53b86964306fb7bec83afeba21b88a8
[]
no_license
newfs/gobotany-app
3b9933a55a2b7ab5adcdd10aa371b104c1a0850b
9030d08b9a1b8bdb0f897c6e482c09ef78cc4d3d
refs/heads/master
2023-01-11T02:49:04.585248
2022-11-17T00:56:30
2022-11-17T00:56:30
3,584,135
10
6
null
2016-02-06T23:07:24
2012-02-29T17:49:06
JavaScript
UTF-8
Python
false
false
497
py
# Generated by Django 3.2.15 on 2022-11-11 00:36 from django.db import migrations, models import storages.backends.s3boto class Migration(migrations.Migration): dependencies = [ ('site', '0007_auto_20210602_2000'), ] operations = [ migrations.AlterField( model_name='document...
[ "jnga@users.noreply.github.com" ]
jnga@users.noreply.github.com
1f0aab49aa5a6590e8778e8b8366970e2e0a08f6
62babb33b9bede95aac217db04636956279bb2e2
/bit operation/1395C Boboniu and Bit Operations.py
90ae03a3fd60423b3df792021485ced2af7a8c6a
[]
no_license
tycyd/codeforces
0322e31daf18544944c769fd2a50c6d006015e34
e0773f069c6c5793f9d9a07b61878a589e375a5f
refs/heads/master
2023-08-12T05:00:39.467404
2021-09-30T16:39:21
2021-09-30T16:39:21
266,847,425
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from sys import stdin, stdout # 1 1 1 => 1 0 0, 0 1 1 # 1 1 0 0 => 1 0 0 # def boboniu_and_bit_operations(n, m, a_a, b_a): for k in range(513): cnt = 0 for a in a_a: for b in b_a: if ((a & b) | k) == k: cnt += 1 br...
[ "tycyd@hotmail.com" ]
tycyd@hotmail.com
edf977c8ee2771f059d611fdf4b49337c5b6119e
a4174a9d51577d9b72b4e5dcf1be56bc9b0d242b
/retinanet/model/head/builder.py
b4153ffafb41099f951afdc540259b1454c0ab31
[ "Apache-2.0" ]
permissive
lchen-wyze/retinanet-tensorflow2.x
996396724c858fdc954880f3c20db7865d930a87
86404a2da6ec636d4b1aef768ac52f018c127798
refs/heads/master
2023-08-23T06:12:39.629288
2021-10-18T15:52:23
2021-10-18T15:52:23
418,040,957
0
0
Apache-2.0
2021-10-17T06:26:21
2021-10-17T06:26:21
null
UTF-8
Python
false
false
2,157
py
import numpy as np import tensorflow as tf from retinanet.model.head.detection_head import DetectionHead def build_detection_heads( params, min_level, max_level, conv_2d_op_params=None, normalization_op_params=None, activation_fn=None): if activation_fn is None: ...
[ "sriharihumbarwadi97@gmail.com" ]
sriharihumbarwadi97@gmail.com
59f8819b81b135eec58e7e72e99829415c9a5917
2312db84a76baf32a918ed9d354dc324c842c3cb
/data-structure/array/max_ascending_pairs.py
168918681a9d68f94ef547f4f6c7a55cfcc5791a
[]
no_license
justdoit0823/notes
a6ec61c2429a76f7d9ac52d8535a97abfa96ee10
25da05f9fdd961949c56bcb11711934d53d50c9a
refs/heads/master
2023-06-22T23:17:17.548741
2022-10-19T15:15:15
2022-10-19T15:15:15
18,003,252
13
1
null
2023-06-14T22:29:39
2014-03-22T06:01:28
Jupyter Notebook
UTF-8
Python
false
false
1,103
py
"""Max ascending pairs.""" def max_ascending_pairs(a_list): m_low_idx = None m_high_idx = None c_low_idx = None c_high_idx = None for idx, val in enumerate(a_list): if idx == 0: c_low_idx = idx c_high_idx = idx else: if val >= a_list[idx - 1]: ...
[ "justdoit920823@gmail.com" ]
justdoit920823@gmail.com
3a141b982aad58e4efe5283b889680634f9fbab5
9ca57420255bdc8df9f9d34989a28457ef818d66
/src/tests/test_era5_processor_service.py
306d90806bca697684582fcc3fff6676eb9d2d5c
[]
no_license
SatelliteApplicationsCatapult/csvs-nc-processor
6b8475bbbc2e415e718ff9b0acbf7c909fe7d0ba
c0ab5dfee88e78717d6589b77b1d64f2fe5b5f03
refs/heads/master
2023-01-13T08:57:09.991893
2020-10-23T14:49:51
2020-10-23T14:49:51
294,157,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
import pathlib import unittest from services.era5_processor_service import merge_nc_files, MergeError, concatenate_nc_files extracted_daily_data_path = 'tests/resources/extracted_daily_data' extracted_monthly_data_path = 'tests/resources/extracted_monthly_data' class ERA5ProcessorService(unittest.TestCase)...
[ "noreply@github.com" ]
noreply@github.com
a71ce795ba83eeadfd0ca322c34f7d911d52d157
92a4bd6df16659e72d91b279f915d81b84d56c39
/GBN_window.py
bccc5c1cd549160c1a7459a268474e5ffdc5bc91
[]
no_license
banana16314/rdt
1d1d714dc34554065f37de59da5abf24fac4963c
1f1ca293c0c2462861997f0728a2bc9644f9a315
refs/heads/master
2020-12-30T15:29:41.671132
2017-05-19T04:39:12
2017-05-19T04:39:12
91,145,369
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
class GBN_window : def __init__(self) : self.packet_list = [] self.ack_list = [] self.resend_list = []
[ "18245032253@163.com" ]
18245032253@163.com
376b7b79d23557f1e0c36c97dd6bb44441e25287
902fb2fdc99eb16df86344bee0ac5ac02d1686a9
/lib/my_requests.py
849dad0edf3f5591da57b5cf3bd0b20934093ae8
[]
no_license
Natasha093/LearnQA_PythonAPI2
ae665705af07f9752871004a9da247aaa1ecfac8
343ead661b0b54f6f2160381d77074b6824528c8
refs/heads/master
2023-07-09T05:28:30.287901
2021-08-17T11:24:49
2021-08-17T11:24:49
393,113,137
0
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
import requests from lib.logger import Logger import allure from environment import ENV_OBJECT class MyRequests: @staticmethod def post(url: str, data: dict = None, headers: dict = None, cookies: dict = None): with allure.step(f"POST request to URL '{url}'"): return MyRequests._send(url, d...
[ "fanloko063@mail.ru" ]
fanloko063@mail.ru
f668e324466fcbe5eacf8b3b1dfb24bd51d73cfd
5ef9d5114cd6c16c22f289f65f86de16bc15e46b
/src/smartcity/module/modelling/arima/x1ClassifyTrafficArimaData.py
fbf39b98f135f78e0dd10f28cb0309f40dceefeb
[]
no_license
decmhugh/smartertraffic
d30b79d4d8d602741c2e8aa368cce7886b11558f
b672c4cd1ce26e2c4b58f3799da978ab890b5ece
refs/heads/master
2021-01-02T22:30:51.091589
2014-10-21T09:04:41
2014-10-21T09:04:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,369
py
''' Created on 3 Dec 2013 @author: declan ''' from pymongo import Connection as mongoConn import os,gc,sys import numpy as np from datetime import datetime, date from pandas.core.series import TimeSeries from sklearn import cross_validation from pandas import DataFrame as df from sklearn import linear_model from bson ...
[ "declan.mchugh@gmail.com" ]
declan.mchugh@gmail.com