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
d63f277d30e2be6138f9d8d2e23d5fda959e26da
166f34dafbcbd58e0ae5f6264ee8a90699922bea
/problems/p5.py
a33b0bf40acfcd1d61384648b3089984520b319d
[]
no_license
jennyfothergill/project_euler
b0e368042ec55d2223021349e650d640127dbdd3
68e356b2886078ffa32bbad5a5c5c91717517aae
refs/heads/master
2022-11-07T06:14:16.649860
2020-07-02T23:08:37
2020-07-02T23:08:37
271,092,181
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
#2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. #What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? import math import numpy as np def is_factor(i,number): if number % i == 0: return True return...
[ "jennyfothergill@u.boisestate.edu" ]
jennyfothergill@u.boisestate.edu
c387b822157c1e5735959e46d93f8bdd8200ae55
6fb5c73dd0fd0dca52c6a00a0376f417d6b5528c
/rl/utils/logger.py
804bf7197d8dc546d9cb760c46101457a3f3924b
[ "MIT" ]
permissive
awesome-archive/rl
af88121def529184729571a2ed1d0e2890f977b1
7b6ce5b41c47394d0f68903fd675e47f68f28958
refs/heads/master
2022-03-27T02:39:44.306620
2019-07-20T02:44:10
2019-07-20T02:44:10
198,167,946
0
0
MIT
2020-01-13T03:30:57
2019-07-22T07:12:33
Python
UTF-8
Python
false
false
1,677
py
import os import numpy as np import tensorflow as tf LOGGER = None def init_logger(hparams): global LOGGER LOGGER = Logger(hparams) def log_scalar(tag, value): global LOGGER LOGGER.log_scalar(tag, value) def log_histogram(tag, values): global LOGGER LOGGER.log_histogram(tag, values) def log_graph()...
[ "bryanlimy@gmail.com" ]
bryanlimy@gmail.com
604b8f59fc75143388ea6ead9400ad7fae6b8705
27061fa9c96400cead1697706ba34e541284b288
/main.py
5e52ba99dd85669aae19117bdc84f2ba2b188d2e
[]
no_license
cmwema/Rocket
f85f9606ee2a71315c09a39262e82466fea34ac8
452bef543abf048edcf5d5f7237cc9bb69ec8fe2
refs/heads/main
2023-04-07T12:35:37.303798
2021-04-07T12:42:00
2021-04-07T12:42:00
355,539,689
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from settings import Settings from rocket import Rocket import functions import pygame import sys def main(): pygame.init() settings = Settings() screen = pygame.display.set_mode((settings.screen_width, settings.screen_height)) pygame.display.set_caption("ROCKET") #make rocket rocket = Rocket...
[ "noreply@github.com" ]
noreply@github.com
33fa2896293d944a73e801b87353e72d965ebd79
385c027fc4b9c09706a4d880bdb8aa5897d0ebca
/tests/greedy/test_transforms.py
b8189adbd88900a9f717953dc14be5efddba0e93
[ "MIT" ]
permissive
rodluger/starry
076d46324473a6ac634781a3382021d02a5f4fdd
b72dff08588532f96bd072f2f1005e227d8e4ed8
refs/heads/master
2023-05-23T16:37:07.835744
2022-07-14T15:38:11
2022-07-14T15:38:11
120,621,593
131
31
MIT
2021-11-16T16:48:10
2018-02-07T13:54:20
Python
UTF-8
Python
false
false
639
py
import numpy as np import starry def test_latlon_grid(): # Just check that these don't cause errors map = starry.Map(10) lat, lon = map.get_latlon_grid(projection="rect") lat, lon = map.get_latlon_grid(projection="ortho") lat, lon = map.get_latlon_grid(projection="moll") def test_pixel_transform...
[ "rodluger@gmail.com" ]
rodluger@gmail.com
e1647e60fce8a23a01c2398726cfc86353bede6b
943c61ef2144802aa3c7e66d14770a82c6747db1
/zenbilstore/wsgi.py
fa6ae83a92f1812b3c12b96f894fef0ef1f25e74
[]
no_license
mandalusevda/zenbil.store
229bbe9c74dbb06c309d4d20b0195710432d46c8
702262cdfb143e0d5fddfee6acaeccebc0b466b6
refs/heads/main
2023-08-03T17:28:53.040802
2021-09-11T14:53:16
2021-09-11T14:53:16
405,395,951
1
0
null
null
null
null
UTF-8
Python
false
false
415
py
""" WSGI config for zenbilstore project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefa...
[ "noreply@github.com" ]
noreply@github.com
73ca64f60cd62039b841f7b95797c77a9537205e
8983c7eeb0042efddfedded9cc2ec5ca08a50c9f
/layers/center_loss.py
9748d1b8133501ed286640df06200f34cb8b83b4
[ "MIT" ]
permissive
tomektarabasz/reid-strong-baseline-tt
6c8ba16ac39a595ce367d3e74402dfa88e987f1a
3b8406189443cbd542f01bfd53a990ee87b91366
refs/heads/master
2022-12-18T02:10:24.129493
2020-09-17T14:13:06
2020-09-17T14:13:06
288,531,117
0
0
null
null
null
null
UTF-8
Python
false
false
2,463
py
from __future__ import absolute_import import torch from torch import nn class CenterLoss(nn.Module): """Center loss. Reference: Wen et al. A Discriminative Feature Learning Approach for Deep Face Recognition. ECCV 2016. Args: num_classes (int): number of classes. feat_dim (int): fe...
[ "tomektarabasz@gmail.com" ]
tomektarabasz@gmail.com
af4abfbb35652747eedbd27cfd3f800dab391405
707e82448be6d91024fe9848362fb615d600b349
/Simpylc/__main__.py
2ff49b3e191b964779d34b0b83ce632f9d9839f6
[]
no_license
mnguyen93/CargopodIM
6baf00f569715e225c76536f018378f07521c260
f36718ca9d013f444cfedcd76c7f2d8787379484
refs/heads/main
2023-02-21T17:22:42.108943
2021-01-19T13:25:33
2021-01-19T13:25:33
305,665,514
0
0
null
null
null
null
UTF-8
Python
false
false
2,074
py
# ====== Legal notices # # Copyright (C) 2013 - 2020 GEATEC engineering # # This program is free software. # You can use, redistribute and/or modify it, but only under the terms stated in the QQuickLicense. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, without even the ...
[ "noreply@github.com" ]
noreply@github.com
9d018d4288b721c2f9bdd15ebcc16b7b8f030f82
23ae183fc4c9b8c0c959c27739e6e079ba447b38
/blog/models.py
022b3db275edd906bfbe0f19d95b187c641bccc8
[]
no_license
sie30aorm/django.test1
cf25c1deba1017d5ee58abf4f22f21d810483165
ef2b6f3c7fee10991a1fa2d7c8933e0376a26665
refs/heads/master
2020-09-20T22:37:50.590192
2016-09-06T15:12:43
2016-09-06T15:12:43
67,435,287
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from __future__ import unicode_literals from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( default=timezone.now) published_d...
[ "alvaro.paricio@coit.es" ]
alvaro.paricio@coit.es
3a0519a8939d962b5fcd7b862a52f84e35d321fa
6488924e1b3bc162a315268baf2ac5c8f5f9f136
/src/get-snapshot.py
7ea2861227f81b0ca2e277952858aac78510c8d2
[ "MIT" ]
permissive
dalance/rust-i586
a19d5727e040a3f0a2a728ee36304eb4fa39419f
54c59be8fdff28c2c66c7597fcbeb3cff09bceb9
refs/heads/master
2021-01-09T21:44:38.142313
2016-01-24T06:35:45
2016-01-24T06:35:45
49,773,135
1
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
#!/usr/bin/env python # # Copyright 2011-2014 The Rust Project Developers. See the COPYRIGHT # file at the top-level directory of this distribution and at # http://rust-lang.org/COPYRIGHT. # # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or # http://www.apache.org/licenses/LICENSE-2.0> or the MIT lice...
[ "dalance@gmail.com" ]
dalance@gmail.com
e82c5392a6049ce180717cc3145908adaa3f3fc4
01fdd206c8c825b30870bdd3f6e75f0aa113b849
/test/record/parser/test_response_whois_sgnic_sg_property_nameservers_schema_2.py
8a8146c2727ea7d9dd262c2deba6226bf92c8635
[ "MIT" ]
permissive
huyphan/pyyawhois
0fbc5a7d64a53ae6e3393fdc1c7ff0d0ac5f22b5
77fb2f73a9c67989f1d41d98f37037406a69d136
refs/heads/master
2021-01-23T22:42:55.989651
2015-09-19T16:40:06
2015-09-19T16:40:06
23,335,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
# This file is autogenerated. Do not edit it manually. # If you want change the content of this file, edit # # spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_2 # # and regenerate the tests with the following script # # $ scripts/generate_tests.py # from nose.tools import * from dateutil.parser...
[ "dachuy@gmail.com" ]
dachuy@gmail.com
9ef953add611449fb76602185f700012a0e460bf
a22ae1ceb54b7005e8f4cf5206f20212789af837
/script.py
6659dfc5b36f4d33b7264067164087b3b1730ef1
[]
no_license
abhisharma76/Reddit-post-classifier
995e885416954b35fb4f2374851faac51166a2fe
f04b843e4f5c7958ab968fcd513cbabf7c213c3d
refs/heads/main
2023-06-29T09:51:59.383256
2021-08-01T19:19:56
2021-08-01T19:19:56
391,715,677
0
0
null
null
null
null
UTF-8
Python
false
false
3,175
py
import sys import praw import string import nltk from nltk import word_tokenize from nltk.corpus import stopwords from nltk.stem import WordNetLemmatizer from nltk.tokenize import RegexpTokenizer import warnings warnings.filterwarnings("ignore") def process_url(URL): url = str(URL) if('/r/india/comments...
[ "pyxis@Prathmeshs-MacBook-Air-2.local" ]
pyxis@Prathmeshs-MacBook-Air-2.local
90197c3bedea23cd13c01844ea4732309551ef41
0030787427d43bd254e9d6b0d2c96c5e3e1cb9d4
/LSH.py
8fda4b9e1feec8afc751a39becb730f0eabccf9b
[]
no_license
minghao2016/LocalitySensitiveHashing-3
38b5fd069b8924818078a0ba52acabe31b7cb5f3
4fc7007b2db43591575e4737c0383e5d8c66e862
refs/heads/master
2021-01-09T06:20:20.877333
2016-04-09T13:06:43
2016-04-09T13:06:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
# locality sensitive hashhing # k = rb class LSH: def __init__(self, b, k): self.b = b self.k = k self.r = k / b self.buckets = [{} for i in range(b)] # update def update(self, docid, sig): for i in range(self.b): hash_value = hash(tuple(sig[i*self.r:(i+...
[ "physhunter@gmail.com" ]
physhunter@gmail.com
864caf90e1baee8f519c896c8212eb0d3e3e2ae8
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/cloud/rsctxprofiletoregion.py
f5884b03f3bd5c4ccb68561a4aa42a56060d1fcf
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
9,817
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
6312ddcc83c01ca903a83183455e553eeb55d201
0d0b49c410bc37e602c29a5a46bcfe84460baa7d
/src/data/import_data.py
8a44df85ae6b99f4d605541f64e76fd8c45fa7e0
[ "MIT" ]
permissive
NiklasSabel/crosslingual-information-retrieval
848e87b09a4eeaec60bbeb20749feeca58887738
2fcfea31ee0d5f8db2e8ecec669ea199b732ada9
refs/heads/main
2023-06-01T13:12:30.696004
2021-06-13T19:43:13
2021-06-13T19:43:13
364,239,072
0
0
NOASSERTION
2021-06-11T11:48:57
2021-05-04T11:52:05
Jupyter Notebook
UTF-8
Python
false
false
2,460
py
""" Functions to import europarl dataset and create random subset for our task. """ import numpy as np import pandas as pd import pickle5 as pickle from src.utils.timer import timer @timer def load_doc(filename): """ Function to load doc into memory. """ file = open(filename, mode='rt', encoding='utf-8'...
[ "accounts@jakoblangenbahn.com" ]
accounts@jakoblangenbahn.com
70f6b6eb5392ec25a14fb88fb4dfd1df56a424c9
7e4199bc07c6c2cebc81554db09f85e30b8d7f3f
/server.py
5039bf36b9c5bcfd5f53a8f6af55aff66f7a246c
[]
no_license
sreejithr/DriverForms
087fa65ffafad7cc0d4abe64c2eb1f9b56f87d4e
62caa13082f7fc8fe63feb1eed2ddc715ba61088
refs/heads/master
2020-06-11T00:40:29.337099
2016-12-07T12:03:52
2016-12-07T12:03:52
75,832,060
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
from flask import Flask, render_template, request from flask_socketio import SocketIO, emit app = Flask(__name__) app.config['SECRET_KEY'] = 'secret!' socketio = SocketIO(app) @app.route('/') def hello_world(): return render_template('index.html', async_mode=socketio.async_mode) @socketio.on('message', namespace...
[ "sreejith.r44@gmail.com" ]
sreejith.r44@gmail.com
497d66dcf01b11b9909a339deca57962563163b7
2a6f89c7306d256c4330b45841dd7f1cd297f214
/junk/lab1mk2.py
d209f948df0da8db5a0d2655ca2eff10504d6ab6
[]
no_license
JingoBongo/diplomGraphs
c18590ebad4ad72be64c17babb946c8e05168b7e
4ad6d303c39689fe480824beea3aa1963cdf1d83
refs/heads/master
2023-05-27T06:35:09.374828
2021-06-14T20:04:59
2021-06-14T20:04:59
350,116,284
0
0
null
null
null
null
UTF-8
Python
false
false
6,451
py
# Here is representation of data that will be given to the system. All the data # is structured in the table where column represents attribute field and rows # represent rules. # For correct understanding below is also represented "table" and how it looks like orientirs = [] race1 = ['nose', 'common skin', 'com...
[ "justfortoma1607" ]
justfortoma1607
efd7b08ceb81999fdb1eeaf6ff9ed3870f205af8
e06c651628c7614b51f76831e783f5c72d178581
/team/forms.py
22a24b85643e392ed782053eaf69342817b7658c
[]
no_license
juliosantacruz/Bienes_Raices
fa6f11db3ee5c2a3109ea811f551f9f3c97fea9d
07a04c5a92ec4015934e82736959767f44f1f77d
refs/heads/master
2023-05-05T05:15:15.111165
2021-05-27T05:11:42
2021-05-27T05:11:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from django import forms from django.forms import ModelForm from team.models import * class PerfilForm(ModelForm): class Meta: model = Asesor fields = '__all__' exclude = ('user', 'nombre', 'apeido', 'apodo', 'email') #widgets = {'foto': forms.HiddenInput(),} labels = { ...
[ "aram.jsh1@gmail.com" ]
aram.jsh1@gmail.com
ee4c3fe497c236a93beff8da80c41af918eabd5c
1cd37c59751344c0f89fe9102e25121e50f4cdfa
/python/ZvvHbb13TeVmacros/launchFakeMET.py
8255ef80ffa75f80954f890b1646c569a6eb13c5
[]
no_license
jmduarte/Xbb
7bd2f919c320e4cda1306c0282f1d4c0df220b05
2f23c163b81c0d4d3f979369b86690ddfb7920fd
refs/heads/master
2021-01-12T16:57:59.009289
2016-06-15T09:43:41
2016-06-15T09:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,485
py
import sys from doFakeMET import * #from doFakeMETStupid import * try: fileNames = sys.argv[1] outName = sys.argv[2] print print "Launching doFakeMET with:" print "fileNames:", fileNames print "outName:", outName print except: print print "example:" print "python launchFakeMET.py tree_100_*...
[ "silvio.donato@cern.ch" ]
silvio.donato@cern.ch
e4cbbd2980dac7c117589a28b37290feb5d35735
0711d57f9b37bd0d81bb1d1b8d8343138b9a0160
/ZMXtoPhosim.py
fa0202b9e29716a334aed5cbb41be02c63a26ee6
[]
no_license
enhsin/phosimMisc
3caa6bc8804681cfbde7e1444a1da0c61b4bf649
2cae50188d44aac47f09bce69344f1cd13944987
refs/heads/master
2020-12-24T08:38:07.135015
2017-04-19T19:08:08
2017-04-19T19:08:08
33,961,047
1
0
null
null
null
null
UTF-8
Python
false
false
5,603
py
#!/usr/bin/env python """ @package phosim @file ZMXtoPhosim.py @brief python script to convert a ZEMAX file to phosim optics_*.txt @brief Created by: @author En-Hsin Peng (Purdue) @warning This code is not fully validated and not ready for full release. Please treat results with caution. Usage: p...
[ "epeng@purdue.edu" ]
epeng@purdue.edu
58be9de5cdf150082a7cf636a2e67d8292c63c27
ac0d1c684f017e69fb6d80c977e4722ce05b0f95
/Les 2/2_3 Operator voorrang/2.3.3.py
e0db915272a4e55f8253104eb4835c1a70affd83
[]
no_license
Tomersardjoe/Prog_practice_exercises
efd81a325e4681f1b909f02a08dd2515024df5cf
77093850dca136ddbbcd1f201c5863dd61c5bd7f
refs/heads/master
2021-01-23T05:29:52.546454
2017-10-09T14:11:30
2017-10-09T14:11:30
102,472,078
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
print((1 < -1) == (3 > 4))
[ "tomersardjoe@hotmail.com" ]
tomersardjoe@hotmail.com
9598d1935919df05c2f5723be86bc84c23c5a217
38af02f6703f376d08def08d85bad802ed7825f8
/stock_provider.py
d5fd943c0985501dd2fa8b3ed3b37dfecd2253ce
[]
no_license
kiwigod/GPU-check
b809adde3c68f8be917c97550d389892dbeed830
7f1bd9cfa5ad707b75f5901f442ae71cbe9afded
refs/heads/main
2023-03-06T06:02:33.122501
2021-02-12T21:54:35
2021-02-12T21:54:35
338,057,289
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
import re from request_options import RequestOptions class StockProvider(object): def __init__(self, url: str, request_options: RequestOptions): self.url = url self.request_options = request_options self.name = '' self.iid = '' self.source = '' self.extracted = list...
[ "amissier@pm.me" ]
amissier@pm.me
55e1d0ec369d1377f917deb2db951a7a93bbb5b4
e22d11dab419233bf4ab636efaede811b7fee172
/Enigma/settings.py
ffe455a65e02df2abb4c2a124ae9e9ace777b267
[]
no_license
vishalkmr/Enigma
ffada3d7682219e5713dda3d7157e6fc117a4e99
b1ce3d8b555c3a6607c93e3409257e30c91cf682
refs/heads/master
2022-12-07T15:55:45.250671
2019-11-19T13:31:33
2019-11-19T13:31:33
127,744,106
2
0
null
2022-11-22T02:13:33
2018-04-02T10:56:01
Python
UTF-8
Python
false
false
3,388
py
""" Django settings for Enigma project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "vishalkmr363@gmail.com" ]
vishalkmr363@gmail.com
9111ff6d364693b213af14c932a89fef59ae75aa
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658571765186560_0/Python/Verum/D-OminousOmino.py
fc2ac8e040f5e876b4f9b9ae8a8a363707c04c6b
[]
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
1,118
py
#input_filename = "D-test.txt" #output_filename = "D-test-out.txt" input_filename = "D-small-attempt0.in" output_filename = "D-small-attempt0.out" #input_filename = "D-large.in" #output_filename = "D-large.out" def solve(x,r,c): r, c = min(r,c), max(r,c) if (r*c) % x != 0: return False elif x ==...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
f57f9ea842a13bb9ef99c25b8ce69b4870218385
b0b5551f0ac987630dfbf06f7bb87018cbb56a3b
/lib/core/model/net/vgg/pruned_vgg.py
c490a8953844c45b9332bedf0c331ab08b06d53c
[ "MIT" ]
permissive
airacid/pruned-face-detector
1b96e2433589a5f722a23c1614f33dd61773676b
ef587e274ccf87633af653694890eb6712d6b3eb
refs/heads/main
2023-09-01T03:31:13.721237
2021-10-28T01:28:08
2021-10-28T01:28:08
422,010,727
1
1
null
null
null
null
UTF-8
Python
false
false
14,399
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
noreply@github.com
00ba2c5e58fbbd552d621a85c00c7f6b45dba5cd
c6d285f08b3d037a0016b32ea95ce67850fb24f2
/day12_p2.py
88dd9f2162999a0ae4cbde4f0fba1b3aa7ff53e0
[]
no_license
FranzEricSchneider/advent-of-code-2020
78260b58229607858bb9cb09cdf0ae16b61f0067
d40f9524a064b8ee2a990467a5ba611cb442a3c4
refs/heads/master
2023-02-19T17:40:58.901251
2021-01-24T12:27:57
2021-01-24T12:27:57
332,510,567
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
import numpy DIRECTIONS = { "E": numpy.array([ 1, 0]), "W": numpy.array([-1, 0]), "N": numpy.array([ 0, 1]), "S": numpy.array([ 0, -1]), } # Sign of the turn around z axis TURN = { "L": 1, "R": -1, } def Rz(angle): # Comes in as degrees angle = numpy.deg2rad(angle) return num...
[ "franz.eric.schneider@gmail.com" ]
franz.eric.schneider@gmail.com
42aad590822766d10b9a0566a1a9faf1aa65cdfa
6d3ba1fb659904399457b6adb6154d3bf9eb507d
/src/utils/logging.py
a7c7f272da35580eaa593f6a5a76e884f105c52f
[ "MIT" ]
permissive
nuguziii/MI
2d8720b7a5f1dc12ed6a0db06ff7ef94c204a84b
b35c5c0b3ba25d31be560197a22d78d61e7c5645
refs/heads/main
2023-07-08T12:16:10.046336
2021-08-06T04:25:57
2021-08-06T04:25:57
321,569,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
import logging import time, os from pathlib import Path import torch def create_logger(output_dir, description, phase='train'): root_output_dir = Path(output_dir) # set up logger if not root_output_dir.exists(): print('=> creating {}'.format(root_output_dir)) root_output_dir.mkdir() fi...
[ "nuguziii@naver.com" ]
nuguziii@naver.com
2e052e77c9fab9325e9c38cec76978f5bb2e125d
77a21ad5f5e54a591029369144527a3c8d7af6d8
/bitcoin_clustering.py
e09f28bbeaac99c326cdc2965ae9c7594e07a3da
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
c0indev3l/Bitcoin-price-forecast
e849eb22cfa65607b9bc2beb0b9472a6edec114b
5ca831ce5ba4d487aa3a94331db0d6dd6a1b67b3
refs/heads/master
2023-04-01T00:07:18.173624
2019-12-18T01:14:14
2019-12-18T01:14:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,728
py
#!/usr/bin/python #Hierarchical clustering and dendrogram CynthiaKinnan from matplotlib import pyplot as plt from matplotlib.dates import datestr2num from scipy.cluster.hierarchy import dendrogram, linkage from scipy.cluster.hierarchy import cophenet from scipy.spatial.distance import pdist import pandas as pd import ...
[ "noreply@github.com" ]
noreply@github.com
fa171766c4e20c15c63242874b215331ef1bf458
a280799a6199ee98ad1558d041cebfd357b2a5da
/mockstagram_crawler/src/api_crawler.py
bc3cf25cf614df14e7fd632b8853a0e3e5a7e569
[ "MIT" ]
permissive
rahulzomato/Mockstagram
240104aa006d3778269b797e8e3aba0d45104009
2287980b34313401e725e50d96fe5300723c4311
refs/heads/master
2022-12-09T05:18:54.703231
2020-02-04T08:48:42
2020-02-04T08:48:42
160,041,496
0
0
MIT
2022-08-23T17:28:10
2018-12-02T11:43:10
Python
UTF-8
Python
false
false
2,682
py
import requests, json, datetime from mongoengine import * from celery import Celery from celery.schedules import crontab from configs import settings as Settings from celery.utils.log import get_task_logger from models.influencer import Influencers, InfluencerData celery = Celery(broker = Settings.CELERY['BROKER_URL']...
[ "rgosain@expedia.com" ]
rgosain@expedia.com
02b416950ddfd3b299c53e74d7637fb6d807c0db
8bfa5aa80e2a071db974863672a7739dfcf47a33
/bin/5_Memory_user24_B9D97diQcoWUxXF.py
22b52ddfa42633c68ef2fe153aa728fc367a2647
[]
no_license
dljvandenberg/coursera_python
5da0b3482b494183e573a1089b5dcbfcdb2c9cdd
83a279c95fd8da6ab0aa267bdcef88dd59adf796
refs/heads/master
2021-01-13T00:16:30.744811
2015-11-16T11:23:15
2015-11-16T11:23:15
46,269,876
0
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
# implementation of card game - Memory import simplegui import random # parameter for debugging DEBUG = False # define parameters CARDRANGE = range(0, 8) # CARDRANGE = ['P', 'Y', 'T', 'H', 'O', 'N'] CARDWIDTH = 50 CARDHEIGHT = 2 * CARDWIDTH TEXTSIZE = int(CARDWIDTH) # helper function to initialize globals def ne...
[ "dljvandenberg@gmail.com" ]
dljvandenberg@gmail.com
33a0f4c7df1680909f27f4eddaafe6686da34c3e
121d17ac763414842a8af254ee85faf5dfd8e36b
/backend/our_groceries/migrations/0001_initial.py
30f6791543c1cd2061229c2524af6577fd4c379b
[]
no_license
BlueGhost147/OurGroceries
bf7f4a484bf7183d139cbbcbe8412aa5554fec82
1508d5af2710ee29095abd55c97f119b6044aa1c
refs/heads/master
2023-01-09T11:54:06.784128
2020-01-26T18:11:08
2020-01-26T18:11:08
216,790,188
1
2
null
2023-01-07T11:44:58
2019-10-22T10:48:57
TypeScript
UTF-8
Python
false
false
3,458
py
# Generated by Django 2.2.8 on 2020-01-09 12:05 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "andreas.raith@edu.fh-joanneum.at" ]
andreas.raith@edu.fh-joanneum.at
f4b133dfa4518b57d970d94f8664216fb8ab56cc
da3ec6440506806d8de38c12fe42adeac5e989e3
/transactions/manage.py
c74860a2f068bda82f09a0ba4f0474ea825ff976
[]
no_license
nickzuck/loco-contigo
4f6934ec1e1dd00b9bd6bd292b100c7c40f0fe10
594277216fa2663615dae69895513f2c608fc04b
refs/heads/master
2023-06-26T22:53:18.227444
2021-07-26T04:57:04
2021-07-26T04:57:04
389,366,669
0
0
null
null
null
null
UTF-8
Python
false
false
668
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', 'transactions.settings') try: from django.core.management import execute_from_command_line except...
[ "nikhil.singh@innovaccer.com" ]
nikhil.singh@innovaccer.com
8bb50c3a3ea0f17e4946a42cd2f7922915047603
726a4b006c30753a0af653339e61b8e1ab6df252
/percentage.py
e11beb272e1c5459fe89e86f6ae013ff80ee3ad1
[]
no_license
meysiolio/the-percentage
5820725f653698a4dd6ba259787855c3ff5c2fc5
47164f0c9a730930ea5269a7fc44d03f4606572e
refs/heads/main
2023-07-26T12:30:51.868061
2021-09-06T21:12:16
2021-09-06T21:12:16
403,759,521
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
if __name__ == '__main__': n = int(input()) student_marks = {} for _ in range(n): name, *line = input().split() scores = list(map(float, line)) student_marks[name] = scores query_name = input() mean_name = sum(student_marks[query_name]) / len(student_marks[query_name]) pr...
[ "noreply@github.com" ]
noreply@github.com
197b9db76c59137f0f91a08b2598f82450d10337
91e1aeb60f923b57f9f03f88223ed2fadce31f95
/test_phonebook_pytest.py
935955c36a2d90ab6dd350cd62253f2746209b47
[]
no_license
amrable/Testing
3852dc63414b455e246a5852dcd3935d953758ae
9ccdfac100318e33274eb6a679174158cb8b8e57
refs/heads/master
2023-07-27T07:37:28.631919
2021-09-17T17:08:13
2021-09-17T17:08:13
255,318,350
0
0
null
2021-09-17T17:08:14
2020-04-13T12:22:13
Python
UTF-8
Python
false
false
220
py
from phonebook import PhoneBook import pytest @pytest.fixture def pb(): pb = PhoneBook() yield pb pb.clear() def test_lookup_by_name(pb): pb.add_contact("Amr", "123") assert "123" == pb.get("Amr")
[ "amrfahhassan@gmail.com" ]
amrfahhassan@gmail.com
3e8dffaa5ccc97b67d5f0e16d390c21f3adb42dd
03a50359d9e2ebef21e8ad2330955cebf0209f7a
/portmanteau.py
cd618bd081cb74e294ecd58ba93305d2aa91e2c9
[]
no_license
thecapacity/languagetoys
9b44ec6bfec5923662ccf5e0bde60a5da6a65a7c
daa726a645c5159a0027482ed0c9f7785bea2d4d
refs/heads/master
2021-01-16T13:44:14.776967
2009-04-24T20:39:23
2009-04-24T20:39:23
449,577
1
0
null
null
null
null
UTF-8
Python
false
false
3,839
py
""" Let's find pairs of words that blend nicely, like book + hookup --> bookup Usage: $ python portmanteau.py >output Takes around 40 seconds on a 2008-vintage laptop. Alternatively: $ python portmanteau.py my-dictionary-filename >output Strategy: given a wordlist, first remove generative affixes like un- and -ly. Fi...
[ "darius@66-214-130-138.dhcp.gldl.ca.charter.com" ]
darius@66-214-130-138.dhcp.gldl.ca.charter.com
2045f838ced5cbb44e3acff6b5588a986d821932
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2153/60634/269290.py
4a9e1e2f2528705a00fe22bb4edfda1efd0a27a3
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
276
py
def over(num): result = 0 while num > 0: result *= 10 result += num%10 num = int(num/10) return result num = int(input()) if num < 10 and num >= 0: print(num) elif num < 0: print(-1*over(-1*num)) else: print(over(num))
[ "1069583789@qq.com" ]
1069583789@qq.com
57eec54276bfc43dafbc8ae5863191e8b93e1d67
072a972c072e70064d3a10e07243113bad58ad66
/program_to_interface.py
233f3a1d8d94fb66d90bb20fce35e83a51b3442d
[]
no_license
RiteshAgrawal/design-pattern-101
4bad6188cca3c431af8d516c55d4a3c77de80555
37ceaf35b3fdac5687ca98af6678913b7fcacaa0
refs/heads/master
2020-08-01T06:01:37.328267
2019-09-25T15:29:45
2019-09-25T15:29:45
210,891,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
from aws import boto3 from file_uploader import S3FileUploader, AzureFileUploader def save_user_details(user_details_dict): # . # . # Save first name, last name etc. dp = user_details_dict['dp'] b = boto3() b.upload_file(dp) def get_file_storage_service(name): service_to_obj_map = { ...
[ "ritesh@cyware.com" ]
ritesh@cyware.com
5d998f493967c90a3650233a89f538c2e68314a7
63662ac7c071ef4526fe28156a35f3ae74bcbcbc
/gem_soft/yowsup-master/yowsup-cli
9e7d55c961bad8216c12b8e7e282a2731d5a73ca
[]
no_license
PyUnchained/fish
f1fe0576813a6e7326bf82ffb1aee8a6fbc5f3ac
a55bd38a42339eca7ab047a8a2a5177c71261639
refs/heads/master
2021-03-13T00:04:33.208478
2015-01-19T08:04:46
2015-01-19T08:04:46
29,014,132
0
1
null
null
null
null
UTF-8
Python
false
false
12,381
#!/usr/bin/python ''' Copyright (c) <2012> Tarek Galal <tare2.galal@gmail.com> 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,...
[ "tatendatambo@gmail.com" ]
tatendatambo@gmail.com
0c2600cc84c3fef03ef968c4b5b2ed0ec958c516
ebe361f9389052f10c01e0a7e363bd574375982f
/489_ Convert Array List to Linklist.py
cad3783e34214b1db74d23ce6a4f200c37df6a92
[]
no_license
JaneCS2018/Algorithm_Practive-Lintcode-
c50133ab6b1f6a1ffc27093840022dfb5c4ef43c
f9d1603402824317d09fc47e78df8dafd58cbe62
refs/heads/master
2022-04-22T08:48:31.587813
2020-04-22T06:21:23
2020-04-22T06:21:23
257,800,997
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
""" Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class Solution: """ @param: nums: an integer array @return: the first node of linked list """ def toLinkedList(self, nums): # write your code here ...
[ "noreply@github.com" ]
noreply@github.com
0c987d57742fe1efb009a98b09bfb5e98156663e
d801ed0e62842132f42d957e3bf1d2da5a1ecadc
/TCS7.py
f04120d716660369212fd63a34c14516f1a75bd7
[]
no_license
deepakrajvenkat/dhilip
2f5bf182e4d6a3ecea73c572be58b0b1e023dbf7
efd3c3fecd2a9eeddd3a7e191849b4832c1fb4d3
refs/heads/master
2020-04-20T04:55:54.157340
2018-11-02T16:20:15
2018-11-02T16:20:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
n=input() l=[] while(n>0): if(n%2==0): l.append(str(0)) n=n//2 elif(n%2==1): l.append(str(1)) n=n//2 l=l[::-1] s="".join(l) print(s)
[ "noreply@github.com" ]
noreply@github.com
fd523fde041332892483a22967c55de452b4df0a
5564397ed29e5b34ce3809b275244bba05377e10
/src/fuse_kafka_umounter.py
7041955b8dddae836eeff3c3dad5b0e3b01b4ee9
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yazgoo/fuse_kafka
09bb0e6b34a35c4567025007147be2798b7c7053
bb460870b8cc5212faca778e94dc731ab01be96b
refs/heads/master
2021-01-10T20:44:12.299940
2015-08-26T08:58:29
2015-08-26T08:58:29
23,967,714
25
3
null
2014-10-21T17:04:45
2014-09-12T16:16:21
Python
UTF-8
Python
false
false
3,359
py
#!/usr/bin/env python # chkconfig: 2345 12 87 ### BEGIN INIT INFO # Provides: fuse_kafka_umounter # Required-Start: # Required-Stop: # Default-Start: 3 5 # Default-Stop: # Short-Description: run fuse_kafka_umounter # Description: ### END INIT INFO """ @package fuse_kafka_umounter Startup script for fuse_kafka_umou...
[ "yazgoo@github.com" ]
yazgoo@github.com
471330e5ad2da22349a59a5f020a4fa6509c86eb
a292d1c5e218fb09c187d87a5ba4941bc4261a85
/core/spec_sim.py
68660f588c3560b7db3f70926f88988f86f6074c
[]
no_license
filipjs/Simulator
f8939eaba2430e6db58af78762f0178b439e0f9f
59ce7f9125de3de29238bbd022c1704f9eb41fab
refs/heads/master
2016-09-05T16:40:33.524754
2014-09-03T22:47:02
2014-09-03T22:47:02
15,078,729
1
0
null
2014-08-27T09:25:36
2013-12-10T14:04:16
Python
UTF-8
Python
false
false
1,381
py
# -*- coding: utf-8 -*- from simulator import GeneralSimulator class VirtualSimulator(GeneralSimulator): """ A specialized version of the `GeneralSimulator`. Only keeps track of the virtual campaigns. """ def _real_first_stage(self, period): pass def _next_force_decay(self): ...
[ "fs237772@students.mimuw.edu.pl" ]
fs237772@students.mimuw.edu.pl
6389ae7f7ca29afb705e07a81152cab72a876da8
467f34dd25a93fc97fefe0fedc9004ca6c8a0805
/mothmusicplayer3/gui_builder.py
b6c0e830d0b2baf8ae1d8fe0006e86a71e02c169
[]
no_license
marco-hrlic/mothmusicplayer
6c82b75d00b761ab05ca71e6d866e5a689a0d0bd
edf591b6b85f0c8aa440f23c86c17508dcf65996
refs/heads/master
2016-09-06T21:39:36.984151
2014-09-15T07:39:45
2014-09-15T07:39:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,365
py
#!/usr/bin/env python import gi from gi.repository import Gtk, GObject, Gdk gi.require_version('Gtk', '3.0') import os from mothmusicplayer3 import mediaInfo2 from mothmusicplayer3 import configuration from mothmusicplayer3 import playlist_gui from mothmusicplayer3 import filechooser_gui from mothmusicplayer3 import me...
[ "marco@arch.lan" ]
marco@arch.lan
7730f1f3ef95b2a073245c9d59a4677aec661b7e
55768c92ebd1c3e0cb406e707d72ba648eb1e7b0
/proxy_client.py
778d178ea5724735d7ff02afc222d3cf9de240e4
[]
no_license
yixianLu/CMPUT404-lab2
e6d1e029a903759f91f3aab74f1e89973e30070d
c4f35a2f3e80228bf4eb8437717fe244e77e8aef
refs/heads/main
2023-02-17T08:07:24.180148
2021-01-21T04:33:32
2021-01-21T04:33:32
331,159,994
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
#!/usr/bin/env python3 import socket time sys HOST= "" PORT= 8001 BUFFER_SIZE = 1024 payload = "GET / HTTP/1.0\r\nHost:www.google.com\r\n\r\n" def connect(addr): try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(addr) s.sendall(payload.encode()) s.shutdown(socket...
[ "43053645+yixianLu@users.noreply.github.com" ]
43053645+yixianLu@users.noreply.github.com
e97e2648f03a2b000541078198a7bd237e410cbf
780b6cca690a213ac908b1cd5faef5366a18dc4e
/314_print_names_to_columns/save3_nopass.py
9877032426300f773ec84c56b3d2a2c1653a6085
[]
no_license
katkaypettitt/pybites-all
899180a588e460b343c00529c6a742527e4ea1bc
391c07ecac0d92d5dc7c537bcf92eb6c1fdda896
refs/heads/main
2023-08-22T16:33:11.171732
2021-10-24T17:29:44
2021-10-24T17:29:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
from typing import List # not needed when we upgrade to 3.9 def print_names_to_columns(names: List[str], cols: int = 2) -> None: name_list = [f'| {name:{10}}' for name in names] output = '' for i in range(0, len(name_list), cols): output += ' '.join(name_list[i: i + cols]) + '\n' prin...
[ "70788275+katrinaalaimo@users.noreply.github.com" ]
70788275+katrinaalaimo@users.noreply.github.com
faab1c482e32b5c647b4346936b0d8d6292d0d7d
a31bb4bb77fb3a40b00ac6b3e4cdaf3bb4fa54d7
/day1/Define_var.py
ff34ec4ae85c6eaeaceee3ab56d78343f421e2da
[]
no_license
lin790292154/python_note
457069a5d0adc6991321f5eb4644e1c91c597fff
3b35a3087117aadc0b8b63a260ef55e5b20f5e96
refs/heads/master
2021-08-31T19:58:15.775229
2017-12-22T17:14:40
2017-12-22T17:14:40
110,909,371
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
# Write by kratos name = "kratos" name_2 = name print("My name is ",name,name_2) name = "Rookie" print(name,name_2) _name = "Mr. Yang"
[ "lin790292154@163.com" ]
lin790292154@163.com
178c4bee5b3cce6305c9e2042928cd6cfad94fae
d95a140b5bddcf5350fb77b53a28bd9b6033c6a6
/lib/models.py
7675d44a8d070f39480c5981935193a50aa9b3c2
[]
no_license
hjpcs/django_demo
91277b5871c53276a1cc8e4cc992570c47e3ed59
1bcf41071745038ea2ea99b83537d15d8f1a4c23
refs/heads/master
2020-12-26T18:14:45.378208
2020-02-04T06:44:24
2020-02-04T06:44:24
237,591,980
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
from django.db import models # Create your models here. class Book(models.Model): name = models.CharField(max_length=200) author = models.CharField(max_length=100) pub_house = models.CharField(max_length=200) pub_date = models.DateTimeField('date published')
[ "jinpeng.he@shopee.com" ]
jinpeng.he@shopee.com
6a9568826846185af0883e9596dd5f43a5fbabd1
a2af85d9ab17803117381fc1976c6f8d56f54dc2
/etna/insights/migrations/0018_replace_pubdate_with_duration.py
573d7a6253cba3f5c91c7b2f750e2a838eabae07
[]
no_license
jacobtoppm/ds-wagtail
e64a046d0ce940c146cbe608415dbe20b806b1b6
c839ab7c15c2d37e4f0337ef9abbf087ff525664
refs/heads/main
2023-09-02T22:59:15.088839
2021-10-27T11:09:51
2021-10-27T11:09:51
422,595,419
0
0
null
null
null
null
UTF-8
Python
false
false
3,960
py
# Generated by Django 3.1.8 on 2021-08-12 14:27 from django.db import migrations import etna.insights.blocks import etna.media.blocks import etna.records.blocks import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks import wagtail.snippets.blocks class Migration(migrations.Migration): ...
[ "craigwood@numiko.com" ]
craigwood@numiko.com
d3dd6489b740b800a768d3e485717a92b2f5f0ff
00aeca868814c3df7336678fcfa1e10a40846b12
/tim/plot2-3.py
c2a2e9a156bbf344d94da7c2cfa16ccd117acdd1
[]
no_license
tg4gg/tcsmcs
d8c25216fb5156ec3934fa53afdb49c8a9c75c9d
764843fdad5875a4323546bbf49476150decd774
refs/heads/master
2021-07-14T02:17:15.845548
2020-05-22T17:10:14
2020-05-22T17:10:14
132,718,408
0
1
null
2020-04-20T11:12:37
2018-05-09T07:26:23
Python
UTF-8
Python
false
false
5,763
py
""" Hardcoded path for testing and plots also the following error """ import numpy as np import numpy.ma as ma import matplotlib.pyplot as plt import datetime as dt import pandas as pd import sys, os, fnmatch import pickle from mpl_toolkits.axes_grid1 import host_subplot import mpl_toolkits.axisartist as AA import pdb...
[ "rcardenes@gemini.edu" ]
rcardenes@gemini.edu
7bcbd0be44e4a736ccb7b5c0258108a807ddf83b
c53f522c209930321715db6932fd66da1e194015
/venv/bin/pip3
0c7570255269c98f65f19ad7ff49c1bcfa883e20
[]
no_license
jeremylumanbailey/data_science
4be441a0ad451254e5907b579ee0b905313054de
4ead4d58f82836957bfff3671000107f8b3a008c
refs/heads/master
2020-07-25T13:47:11.759912
2019-10-23T20:53:08
2019-10-23T20:53:08
208,311,719
1
0
null
null
null
null
UTF-8
Python
false
false
408
#!/home/jeremy/PycharmProjects/data_science/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "jeremylumanbailey@gmail.com" ]
jeremylumanbailey@gmail.com
48af4553c0bfb02406747b0fe07d0fe16863977a
57eabb2bbaa107e101f74475d6be3024e47fc3fd
/test/common/__init__.py
db2427f36ed56eaa6a4443775209dbc91a861dd3
[]
no_license
seecr/gustos-common
c44f9e531b145bcd337563793c286f321cfa09bd
dbf4f29ca6da670501a6d4b2baea90646f84bc91
refs/heads/master
2021-06-21T09:13:36.874698
2021-02-03T14:36:12
2021-02-03T14:36:12
162,483,334
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
## begin license ## # # "Gustos" is a monitoring tool by Seecr. These are the open source parts used in different projects. # # Copyright (C) 2012-2014, 2018 Seecr (Seek You Too B.V.) https://seecr.nl # # This file is part of "Gustos-Common" # # "Gustos-Common" is free software; you can redistribute it and/or modify # ...
[ "thijs@seecr.nl" ]
thijs@seecr.nl
ce90234dd5bd90c0c905564f84711408740df270
0afbc34b0128c792d28694d72920359728dd9633
/core/admin.py
a9ea38ae22667d1ac9ae55706eb02e153e995f48
[]
no_license
shevchykH/analitics-app
6bc2a2750d7e24b5e7fa3c772af4713b251627e5
3ccbb8e4673b2dbcd92e8cdbd93e8c9ff7b68be0
refs/heads/master
2021-09-23T10:35:34.129044
2020-03-06T10:01:46
2020-03-06T10:01:46
245,372,065
0
0
null
2021-09-22T18:40:36
2020-03-06T08:55:07
Python
UTF-8
Python
false
false
110
py
from django.contrib import admin from core.models import WorkerSettings admin.site.register(WorkerSettings)
[ "shevchyk.g@gmail.com" ]
shevchyk.g@gmail.com
8b0985b727b07f4e9edcdad5e49a1494dd16acfc
81c734eb21542765f98f1450632d3737887bd9db
/model_3/model_utils_TF-version-0302.py
911b9b32b9e3c2dffd880020b57efc7d5346e476
[]
no_license
neoTCR/cu-tsp
8eab2284565b13ac8fc440a969eb5114b9a14f07
07475d117243a0a15d67b5cda6c387481e7ff633
refs/heads/master
2022-04-05T17:31:41.709918
2020-02-20T04:55:40
2020-02-20T04:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,423
py
import os import numpy as np import matplotlib.pyplot as plt import tensorflow as tf from tensorflow.keras.layers import * from geom_ops import * # U-Net layers def conv_block(x, n_channels, droprate = 0.25): """ for UNet """ x = BatchNormalization()(x) x = ReLU()(x) x = Conv1D(n_channels, 3, padding...
[ "noreply@github.com" ]
noreply@github.com
af882d1b83dd010ffd9f09441110ffdfee871e36
b429c0067a1e3f891c803d0c673d714fbae0e7a6
/01 接口测试/WoniuBoss_Requests_Test/case/F_DeliverResource_Test.py
ab6880cb6b65a1363d6fc26e8c8353d0045e0ac1
[]
no_license
SuperTestOne/WoniuBoss2.5
bcefb3bf48ca21a90d5393e4078770ddbc160f75
1fc65394dd6df45dd4ac8325b569630c9f61f916
refs/heads/master
2022-10-02T04:59:23.765962
2020-06-01T07:06:48
2020-06-01T07:06:48
261,996,679
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
import unittest from parameterized import parameterized from WoniuBoss_Requests_Test.tools.util import Util from WoniuBoss_Requests_Test.tools.service import Service from WoniuBoss_Requests_Test.lib.F_DeliverResource_Action import DR_Action class DR_Test(unittest.TestCase): #获取查询数据 query_contents = Util.get_js...
[ "2258775358@qq.com" ]
2258775358@qq.com
6d18cbe38eee616d5462100561105c64e781a985
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02959/s005038203.py
72072b6b09a863006aae80c7da70edb873d1591c
[]
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
243
py
n = int(input()) a = [int(i) for i in input().split()] b = [int(i) for i in input().split()] cnt = 0 for i in range(n): dm = min(a[i], b[i]) b[i] -= dm; cnt += dm dmn = min(a[i + 1], b[i]) a[i + 1] -= dmn; cnt += dmn print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2cbdd474fd49a45db76fca7a3c0d87f5e0efc174
dd2f16ca87ca8da33bcb7ad5811f33b4168534b4
/results/probing_8s/cpu_plot.py
8a520be21b103247f91cd2570b16ee4f86254de4
[]
no_license
efcastillo7/intelligentProbing
05bb8f0b24955307f2b1c68d88a5df5e32561cae
e5eec4227ca80e9bcfbb2435ea4b5b56af0b222c
refs/heads/master
2021-07-22T21:26:56.096005
2020-04-16T17:14:02
2020-04-16T17:14:02
141,356,754
8
3
null
null
null
null
UTF-8
Python
false
false
846
py
import sys sys.path.insert(0, '/home/efcastillo/ryu/ryu/app/intelligentProbing/tools/') from bytes_to import * import matplotlib.pyplot as plt from os import scandir, getcwd import os.path as path import numpy as np from numpy import * import csv x = [] y = [] z = [] with open('cpu_usage_1.csv','r') as csvfile: p...
[ "efcastillo@unicauca.edu.co" ]
efcastillo@unicauca.edu.co
22c698c113f3ae7508b6f36b20fd4c54db3ee487
60ab0c50a338ae5f444bbb1210f5f840419851f3
/zqz_tmp/build/atomic_configure/kalibr_camera_focus
e529315a9fa060e0f8070b34921a521b0260a548
[]
no_license
zhang-quanzhe/NvidiaNX_SLAM
df9789a230bf5b9ebcb888a8db8bd8fdba498b08
c7a7cf8c460a7fe53c0e90d9fb699263681033fc
refs/heads/master
2023-07-09T16:37:41.249915
2021-08-21T07:59:55
2021-08-21T07:59:55
398,501,306
0
0
null
null
null
null
UTF-8
Python
false
false
588
#!/usr/bin/python2 # -*- coding: utf-8 -*- # generated from catkin/cmake/template/script.py.in # creates a relay to a python script source file, acting as that file. # The purpose is that of a symlink python_script = '/home/nvidia/zqz_tmp/src/kalibr/aslam_offline_calibration/kalibr/python/kalibr_camera_focus' with open...
[ "zhumingjie0206@163.com" ]
zhumingjie0206@163.com
320588077a9f70d6444751783bb3c54e23696683
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4051/826004051.py
c80b8f5999f99f8b050d0f6bd2743ff2c9af953f
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,776
py
from bots.botsconfig import * from records004051 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'TI', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BTI', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 0, MAX: 99999}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
ddeaaac0854029b27684147871b34f81acd44ca6
a53d0bf6edf871726c926524d8bb7ae25720c7af
/online-version/online/urls.py
ca9bd3c5e1c328fd2e8a3b4195475cf81891f6f8
[]
no_license
GavinAF/Fire-Scraper
42f59f01d7e80ac266a8c2b5b0e69a50d038ee64
6d9106f6c2a0aea0c0682e2a44af81a06f55b6a0
refs/heads/master
2022-12-23T09:01:46.770734
2020-10-21T00:44:50
2020-10-21T00:44:50
202,859,644
0
0
null
2022-12-11T02:26:45
2019-08-17T09:11:40
Python
UTF-8
Python
false
false
885
py
"""online 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') Class-based ...
[ "gavinafoutz@gmail.com" ]
gavinafoutz@gmail.com
b4d71cbd9222d51470dd154f85cbec6495bd4db4
52b5773617a1b972a905de4d692540d26ff74926
/.history/prefixSums_20200729113651.py
f9d6c16ff0f9dc4d781e07a32e438e70210e2a34
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
def prefix(A): n = len(A) p = [0] * (n+1) for k in range(1,n+1): p[k]
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
42635debbf7945a451a22bd94a608c95abf9464b
a60d90192f23197b6f24e40068c637a15f802114
/src/maze_solver/utils/geom_utils.py
c0fc9337f7702b521233966b4f25ef3bc56c4338
[]
no_license
sportdeath/maze_solver
2357f591807dbe613fa414d7aac85941ba30176b
0f5b781e70662f577da3a6f99c89063ac4cf0dad
refs/heads/master
2020-03-08T16:09:28.455601
2018-06-01T19:42:57
2018-06-01T19:42:57
128,232,148
1
0
null
null
null
null
UTF-8
Python
false
false
2,108
py
import numpy as np import tf from geometry_msgs.msg import Quaternion class GeomUtils: """ Useful methods for geometry in 2D. """ @staticmethod def quaternion_to_angle(q): """ Convert a quaternion ROS message into an angle in radians. """ x, y, z, w = q.x, q.y, q.z...
[ "tfh@mit.edu" ]
tfh@mit.edu
bcb367c3193fb6279777f68018673dbfb7dd1416
1158b9ea4704092c123dcc48d0e72f402be83554
/tests/test_user_model.py
f6148f96071b8156149b00386f95a9cc638669da
[ "MIT" ]
permissive
jieunyoo/hangulapp
4ddb818e181937a9c23a3910d41247b20e9d201b
cff6b253da5c31633f86740dcd5906e08992a1b7
refs/heads/master
2021-12-14T23:41:10.646910
2017-06-26T17:35:29
2017-06-26T17:35:29
94,943,412
0
0
null
null
null
null
UTF-8
Python
false
false
5,895
py
import unittest import time from datetime import datetime from app import create_app, db from app.models import User, AnonymousUser, Role, Permission, Follow class UserModelTestCase(unittest.TestCase): def setUp(self): self.app = create_app('testing') self.app_context = self.app.app_context() ...
[ "jieunyoo@protonmail.com" ]
jieunyoo@protonmail.com
592a3bbd21adba08fea95cfcc5db91ad10ec771d
65528102ccb5cb7a7427941253d1822d2b6a5d64
/spark_server/new_customers.py
166003c2d076150286d78fef3e8d442e5716c104
[]
no_license
chipmyersjr/flask_rest_api
2a354ca954d1f5f8b57788aba03be4ff6405e4fa
dc737f15eaad555186127c4c3fe81ba0c6fa179d
refs/heads/master
2020-04-12T22:01:19.127130
2019-07-22T00:50:29
2019-07-22T00:50:29
162,779,129
0
0
null
2019-10-30T23:51:52
2018-12-22T03:40:58
Python
UTF-8
Python
false
false
1,547
py
from pyspark import SparkContext from pyspark.streaming import StreamingContext from datetime import datetime from spark_utils import * def main(): sc = SparkContext(appName="new_customers") ssc = StreamingContext(sc, 3) ssc.checkpoint(SPARK_STREAMING_CHECKPOINT_DIR) sc.setLogLevel("OFF") custom...
[ "chip.myersjr@gmail.com" ]
chip.myersjr@gmail.com
491b221c3a1e154c199a0b938cfbdbf8fa85a2cd
f813857c702f66e0b29d56398ab87764ec3f0125
/app.py
8d4a592f29a47fd5454d146cc42d00b573c93c1f
[]
no_license
zhmsh1992/zms1992
4986040f61ba39df8e1d31d8a5be82bb8dc399f2
9ff98965e45d1f385e63433ea018923c3fe40116
refs/heads/master
2020-06-05T05:09:28.935505
2019-07-22T04:56:08
2019-07-22T04:56:08
192,323,571
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from flask import Flask,render_template from serv import content from serv import get_set_anthing from serv import user from serv import devices from serv import friend from serv import chat app = Flask(__name__) app.register_blueprint(content.content) app.register_blueprint(get_set_anthing.gsa) app.register_blueprint...
[ "731948455@qq.com" ]
731948455@qq.com
ac8755687782be9a19c5c6e6b897340db5ea5330
d9464e9da00c219ed0b95636db27997572a5ae45
/venv/bin/wheel
5b0a5b8410d57828f1cae22eec3c1e4026d6c9bc
[]
no_license
goldenglitch/image_similarity_search
ba0121b9071b90ede5e905199864c81f4883bcbc
21b0ec334f119ee443d45f01ccee673f2a7c86c9
refs/heads/master
2022-10-18T07:43:44.904143
2019-05-23T13:01:34
2019-05-23T13:01:34
188,233,845
0
0
null
null
null
null
UTF-8
Python
false
false
246
#!/Users/shreya/Documents/img2vec/venv/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "shreyadwivedi15@gmail.com" ]
shreyadwivedi15@gmail.com
4fdf5b55ca8b34dbe7b97e293d8dace35dd2c25c
ce13eba2d3d1e7267b44cd322d309c0e1f3e6785
/pb_file_generation.py
26d7bf10581c85f22b12aec9ff2e341b9465e57b
[]
no_license
parthnatekar/Brain-tumor-segmentation
fdfc9ba41d410a3618947c0b6d784ff013ded4a7
88aecfea58bf551457c2c8622cc23e74e48db7e7
refs/heads/master
2022-02-22T03:31:28.981931
2019-08-30T06:53:16
2019-08-30T06:53:16
192,159,231
1
0
null
null
null
null
UTF-8
Python
false
false
3,089
py
import tensorflow as tf import keras.backend as K resnet_model_path = 'trained_models/U_resnet/ResUnet.h5' resnet_weights_path = 'trained_models/U_resnet/ResUnet.15_0.491.hdf5' resnet_pb_path = 'trained_models/U_resnet/resnet.pb' sunet_model_path = 'trained_models/SimUnet/FCN.h5' sunet_weights_path = 'trained_models...
[ "koriavinash1@gmail.com" ]
koriavinash1@gmail.com
2e83ec6d1e2949ecaaf7d1bb3de03ea892f66966
1c6e5c808c1a3e6242e40b15ae711574e670c3b6
/food_management/views/update_meal_schedule/request_response_mocks.py
c10259d419f9263a235901ef89852547ecc07f81
[]
no_license
KatakamVedaVandhana/smart_food_management-vandhana
dbe195994c110471d0ae7a5a53adef1441e86466
19e410a2aa792b22889a2dfed599312ba6b5a7ad
refs/heads/master
2023-07-09T05:43:17.491313
2020-06-15T06:44:00
2020-06-15T06:44:00
269,609,923
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
REQUEST_BODY_JSON = """ { "meal_type": "Breakfast", "date": "string", "items_list": [ { "item_id": 1, "meal_course": "Half-meal", "quantity": 1 } ] } """
[ "vandhanakatakam@gmail.com" ]
vandhanakatakam@gmail.com
3dcf93313868e6a333acf59112cec9cc100db628
20db5a27f2a8b2d324085f5e1ec6c46ad7c1e8c3
/djangoMovie/wsgi.py
bd36ec73a578e75dac2e61871a123692e83408c3
[]
no_license
mortadagzar/djangoMovie
dae326fc83a31e485792b1ee42fa89b7d681049d
e83904c0c1ecc45992eed7516cb483bd2c97590b
refs/heads/master
2020-04-01T22:32:28.246877
2018-10-19T02:41:22
2018-10-19T02:41:22
153,713,907
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for djangoMovie project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "mortadagzar@gmail.com" ]
mortadagzar@gmail.com
e5ea9b1ddf5e93da6d0a8e8a1c2d4abac86bd9bf
441b37974ac5f999001a773caa3fbf7584f82cc8
/Walmart Trip Type Classification/walmart_cv.py
208e036fd9d80b50bb13c7b6c0a95cddc512663d
[]
no_license
lvraikkonen/Kaggle
bcdb653c774c211ae9e5a35fdacdb1205e81bebe
dbeac80d645619dc519819d4ed2c45f383dd1206
refs/heads/master
2021-01-23T03:33:17.804886
2016-09-03T11:51:11
2016-09-03T11:51:11
24,451,963
2
1
null
null
null
null
UTF-8
Python
false
false
2,327
py
# -*- coding: utf-8 -*- import numpy as np import xgboost as xgb from sklearn.metrics import log_loss from hyperopt import fmin, tpe, hp, STATUS_OK # These functions define the metric which we are trying to # optimize. def objective1(params): print "Training model1 with parameters: " print params watch...
[ "claus.lv@hotmail.com" ]
claus.lv@hotmail.com
d902aec595850296e6bec4d0503d83ff76ce22ea
3b0246a503d2bdbc9cd6bf13f44371d0be99c924
/og4_to_vg4/model/main.py
41e0ca7bfbbe19de2e2d348e7c08be85f1a5be18
[]
no_license
Bocabbage/HvvG4-workflow
e4834464a59186f9079054a8da019831560340d1
ba9fba732cfde2a22a7e5e2be21fc31da67f9660
refs/heads/main
2023-08-26T17:50:18.977680
2021-10-27T09:12:51
2021-10-27T09:12:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
#!usr/bin/env python # -*- coding: utf-8 -*- # Script: main.py # Description: MAIN function of the VG4-predictor # Update date: 2020/4/11 # Author: Zhuofan Zhang from xgboost import XGBClassifier import matplotlib.pyplot as plt import joblib import os import pandas as pd import numpy as np ...
[ "378066505@qq.com" ]
378066505@qq.com
9ebd82bf8c429ae45db8a0b7274c6f8d6b9d6a89
f16f7f169e1db571eeac3d3600d30a206255f22c
/MLOfc/test3backend/backN/backN/settings.py
8200535e2118a7093bb4ad43b670e1d0fbd2deb3
[]
no_license
MeSarita/MLbackend
b5ee8e1bc5405b06326e58d3d6610d7b4074dfe0
45e8958b1266cc110361f126a089f899a60719d9
refs/heads/master
2020-08-22T02:03:05.596767
2019-10-20T04:45:40
2019-10-20T04:45:40
216,294,775
0
0
null
null
null
null
UTF-8
Python
false
false
3,085
py
""" Django settings for backN project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "sarita.yadav1590@gmail.com" ]
sarita.yadav1590@gmail.com
014374fb47fbef4af2557c6fe2dfcee90f611fac
195497594843604634a9beaed80d9bc3346eedf1
/ournewproject1/wsgi.py
c0902b7e3b53af64f9919c986e777bc5d6e37611
[]
no_license
EzeXavier01/django-frame
4c028c37eebf4872b20104dcbfcdfc3535b987e8
fb5ba2de093913b5533692e600455604fee51e7a
refs/heads/main
2023-04-16T18:23:06.758806
2021-04-21T12:28:36
2021-04-21T12:28:36
360,161,068
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for ournewproject1 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
[ "75840548+EzeXavier01@users.noreply.github.com" ]
75840548+EzeXavier01@users.noreply.github.com
b4963b47254d15bd0ca7571ad4b4a6d0f5c28c9d
2cf9024fb450440fbaaffc4eb9613fa2e32950f0
/tripadvisor_crawler/utils.py
0f5a5113265b4b8ec3034d447220bf9f6584aceb
[]
no_license
borisghidaglia/tripadvisor_crawler
b1ad88c93838cb40f7e19a00ab7c55e3a0361aa5
c37db6d8ba50c3dc68535868c94dded116393f1f
refs/heads/master
2020-04-09T03:12:25.236919
2019-01-01T14:27:10
2019-01-01T14:27:10
159,973,669
0
1
null
null
null
null
UTF-8
Python
false
false
1,693
py
import pymongo import json # Databases management class DatabaseMongo: def __init__(self, db_name): self.db_name =db_name self.client = pymongo.MongoClient() self.db = self.client[db_name] class TripadvisorMongoDB(DatabaseMongo): def __init__(self, *args, **kwargs): super()...
[ "borisghidaglia@gmail.com" ]
borisghidaglia@gmail.com
167cc51a3936397768ccd70fde5f0982663c46bc
dc245db07b769059c2ea22459116eb29f4bcc6ac
/R2.py
d2555945e65075c5854f3c3677ffd7ca5e74ed98
[ "MIT" ]
permissive
neonio/Reptile101
e9e63759d3eddf8e42d3a855de2f845ba3fa6bcd
a8721dc0020cb3174fe9816f5c4f4a7cfaf835ea
refs/heads/master
2020-03-27T19:29:42.960596
2018-09-04T08:54:47
2018-09-04T08:54:47
146,992,813
0
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWait from selenium.common.exceptions import TimeoutException, NoSuchElementException ...
[ "neonai@foxmail.com" ]
neonai@foxmail.com
c1358a09da4d19555e5577774a08e66956911de3
8dbe9c94291ac7ebd4630af6ec83c245d3b3ae5e
/codeTest/beautifulSoup.py
abd7fa36d6e8c60b046f1b1fd944069e745303de
[]
no_license
stooorm521/SeleniumChromium
2c4940f2480bb895f07092fb80e91aaf9bc66263
7ad118075c8aea05ad6959d09da522865bddc385
refs/heads/master
2020-03-14T05:10:06.215797
2018-05-03T00:02:38
2018-05-03T00:02:38
131,458,599
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# -*- coding: utf-8 -*- #http://www.qiushibaike.com/8hr/page/1?s=4603425 import urllib2 from bs4 import BeautifulSoup import time if __name__ == '__main__': page = 1 xiubai=open(r'xiubai.txt','w+') user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' headers = {'User-Agent': user_agent} for...
[ "748657719@qq.com" ]
748657719@qq.com
b71d7aa393c84575c8be1fe5d77788cc479b4e6a
818b6d644fb7a9ef094212f3b90e097f6956920a
/venv/Lib/site-packages/xyaml.py
26c7786cec2108318a733c3728dfa35007be04db
[]
no_license
tany-92/FocusApp_Autotest
023cf7e972d44d9eebc6f3dec14f552f2cfdcd23
cec5448b2292ffd414ac5dff01e931f985f2ebb8
refs/heads/master
2023-01-12T07:38:17.774098
2020-11-17T08:15:03
2020-11-17T08:15:03
312,505,643
0
0
null
null
null
null
UTF-8
Python
false
false
2,827
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import logging import os import sys from copy import deepcopy import yaml __author__ = 'Marco Bartel' LOG = logging.getLogger(__name__) class XYaml(object): @classmethod def merge(cls, a, b, path=None, update=True): if path is None: path = ...
[ "1187452302@qq.com" ]
1187452302@qq.com
221f6c9b0954b8344fd3da185ce8cc6156cf3cba
b7e52fa16942ab6dd9c794a06775615789f82b6b
/Tutorials/General_Tutorials/PhysicsApplications/visualizingwaves.py
c395e03aaebe0de27a4b0ba3f81459b1663ee848
[]
no_license
fusionby2030/Uni_Work_SS20
7e89c1ce77bd5494acf8d8219c9665ea38763136
deddf380105d960bd7c1843631a64de98b4a1aaf
refs/heads/master
2022-12-31T12:30:50.026845
2020-10-27T15:58:26
2020-10-27T15:58:26
256,388,468
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
import numpy as np import matplotlib.pyplot as plt plt.style.use('dark_background') pink = '#F08080' green = '#96f542' gold = '#ebdb34' domain = np.linspace(0, 10, num=500) A_x = 0.5 A_y = 0.5 omega_x = 1 omega_y = 1 phi_x = 0 phi_y = 0 x_domain = np.linspace(-2, 2, num=50) y_domain = np.linspace(-2, 2, num=50) X, Y = ...
[ "adamkit11@gmail.com" ]
adamkit11@gmail.com
308ea4dfce5b0857543183153beb933f958db6c8
922496d9cd4377f858a47fbd9468a08e455a6321
/Tools/Blender_tools/BlenderTools_2.80_81/MH_Community_for_blender_280/MH_Community/operators/snaponfingerrig.py
0b0e668ef43d7d070d4fd1d006c6aecb44dc1f35
[]
no_license
SyedShaQutub/VPS_System
b92b90975987aad7f9b5cf8d1880505a0d7f9746
32c0cd1157e93069628c7340b6dd09754971c558
refs/heads/master
2020-09-26T21:37:11.752715
2020-03-23T15:27:08
2020-03-23T15:27:08
226,346,930
1
2
null
null
null
null
UTF-8
Python
false
false
1,268
py
#!/usr/bin/python # -*- coding: utf-8 -*- import bpy from ..rig import RigInfo, FingerRig class MHC_OT_SnapOnFingerRigOperator(bpy.types.Operator): """Snap on finger control bones.\nNote an IK rig is always added with .ik in bones names, regardless of imported with MHX or Collada.""" bl_idname = 'mh_c...
[ "syed.qutub@intel.com" ]
syed.qutub@intel.com
48774ba94ffa456eca920cab6ef2295aa6a30cfc
df23188d00d1425ccabd753a92549bb2ade56f0d
/node/node_modulesfr/uws/build/config.gypi
352659615b926bdb310c9d727004cdcd8718eabf
[ "Zlib" ]
permissive
rajinder-mohan/contestsite
37d989e39c37feca832fe0c4f192255885ff012f
10a94efa903626f9386392a1506757a39b08a6f2
refs/heads/master
2020-03-25T06:32:32.114523
2018-08-04T07:40:47
2018-08-04T07:40:47
143,508,452
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 54, "host_arch": "x64", "node_install_npm": ...
[ "pksharma341989@gmail.com" ]
pksharma341989@gmail.com
f86c5455ad8c4a2c08122a157609b5b9dc975e49
6c2c560964c32f8c7412e77668291714d1a8704a
/Docst/__init__.py
5a3d223fe6aa1508777b609270a3eddc5605173b
[]
no_license
mulac375/calum_kirk_set09103_cw1
62394044e9686ec9d0824fa9c950109c83c37330
efe3fd8c484fae31e078ab6738134e809bc97084
refs/heads/master
2023-01-19T15:30:02.981981
2020-11-28T16:46:56
2020-11-28T16:46:56
297,415,903
0
0
null
null
null
null
UTF-8
Python
false
false
1,767
py
from flask import Flask # import flask functions from flask_sqlalchemy import SQLAlchemy # import sqlalchemy for database from flask_bcrypt import Bcrypt # import bcrypt functions from flask_login import LoginManager # import login functions from flask_mail import Message, Mail # import email functions mail = Mail(...
[ "noreply@github.com" ]
noreply@github.com
3dfeb5c61ec286191fe10d7a608e8bb131535b04
0de400bcdc0c7cf20ef83428a0044e2d4b9119bb
/curriculum_algorithm/migrations/0003_auto_20190527_2141.py
8a5c78663868b206837aacc73915edebef4ff752
[]
no_license
Joshuacruzc/CurriculumAlgorithm
a961f857a03a1e27d6d1207d5ffc75fde3231705
04713113ce141d7e12a2ddb9e85aac5e50388f80
refs/heads/master
2022-11-24T03:55:09.902111
2020-07-23T02:19:19
2020-07-23T02:19:19
179,868,171
1
1
null
2020-07-23T02:19:47
2019-04-06T17:58:16
Python
UTF-8
Python
false
false
562
py
# Generated by Django 2.2.1 on 2019-05-28 01:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('curriculum_algorithm', '0002_auto_20190527_1338'), ] operations = [ migrations.AddField( model_name='curriculumcourse', ...
[ "joshua.cruz15@upr.edu" ]
joshua.cruz15@upr.edu
273b3d5bdf3e8b7ce0cffb9a434b870bf27e23eb
068d1a9de577c9b0e6806f1c6f4d1371e587a176
/lipanampesa.py
4b683f21bfcb3670a9acd280595bb5ccae6d300a
[ "MIT" ]
permissive
reinbarasa/Daraja
934dc9765fa90913dfdd5fb8075e4fcfe7a6cd82
ec350d8934f29d05c99ffece9a6919cca14f6518
refs/heads/master
2020-12-10T06:28:06.835075
2020-01-13T06:53:19
2020-01-13T06:53:19
233,524,584
0
0
null
null
null
null
UTF-8
Python
false
false
16
py
a = 5 print(a)
[ "burudinthn@gmail.com" ]
burudinthn@gmail.com
606d4366f99252e9418e1579582edebba8b119a6
3bcc4672eee17ed7bef7e1be454961bd68a7f636
/permutations.py
6a2e477fcb04094b5a0caefdd5689ba67b8149ad
[]
no_license
Milan-Chicago/ds-guide
092ffa5c6a6df5ff0aad0674c38e994bdf92e444
fbaae4bdbb2017ee43b0d1a3f23137a75f7ea2c1
refs/heads/master
2023-08-19T21:52:30.707802
2021-09-17T12:53:51
2021-09-17T12:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
""" Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. Example 1: Input: nums = [1,2,3] Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]] Example 2: Input: nums = [0,1] Output: [[0,1],[1,0]] Example 3: Input: nums = [1] Output: [[1]] Ap...
[ "kuchandr@blr-mpw2v.bangalore.corp.akamai.com" ]
kuchandr@blr-mpw2v.bangalore.corp.akamai.com
6b978e0dc946990c17a8c9fb8c15af9dd6441e33
9101a7f87171fa33fc0567e94148f9a46326badd
/tcl/startPage/start_page_support.py
74c28c5dc3bd4ccd428792942ef049512d108f58
[]
no_license
adiaharoni/yudbetProject
c0bad8fc72be13743a0f2613a7bd1888a6b1b713
4e04262bddf7a57b307d980d17faa522dca9b6a2
refs/heads/master
2021-01-13T21:57:31.944082
2020-02-27T07:37:20
2020-02-27T07:37:20
242,507,395
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
import sys try: import Tkinter as tk except ImportError: import tkinter as tk try: import ttk py3 = False except ImportError: import tkinter.ttk as ttk py3 = True def startOpenPage(): sys.stdout.flush() sys.path.append('..\openPage') import openPage openPage.create_Toplevel1(r...
[ "adiaharoni100@gmail.com" ]
adiaharoni100@gmail.com
016f142fbb09daf43f5feeb03bd08f1a32783e55
478071aed3612b8eefb5dc521b8fe18f95eaffdd
/Existing paper reading/model/GATA.py
105813c869a5edc310f98773b833ce8591293d86
[ "MIT" ]
permissive
leiloong/PaperRobot
f913918671d758ae7e9d4098fe42cad19fbbbc6d
070972dc1548571c28d89d2c54fb379e87d172c7
refs/heads/master
2020-05-30T11:39:11.814416
2019-07-18T08:25:00
2019-07-18T08:25:00
189,710,771
0
0
MIT
2019-07-18T08:25:01
2019-06-01T08:47:51
Python
UTF-8
Python
false
false
1,782
py
# --------- Link Prediction Model with both TAT and GAT contained ----------- import torch.nn as nn import torch from .GAT import GAT from .TAT import TAT class GATA(nn.Module): def __init__(self, emb_dim, hid_dim, out_dim, num_voc, num_heads, num_ent, num_rel, dropout, alpha, **kwargs): super(GA...
[ "dalewanghz@gmail.com" ]
dalewanghz@gmail.com
36b24562ceb35e154615e4d670d7cca5b62ae702
b5c961e08daafc616f115ee8229db6608f5fdee0
/models/qanet2/modules/functional.py
382592a2c15d874a3bc0bdf5b28c6f06349459ab
[ "MIT" ]
permissive
arpadtamasi/cs224-final-squad
0fa9f8a0140e3d33f9659997c3414b6a3c5a4dfd
9962747725d226c645fe82780b3df43b1af3f47f
refs/heads/master
2023-03-18T21:26:00.727161
2021-03-13T12:37:57
2021-03-13T12:37:57
342,046,865
0
0
MIT
2021-03-13T12:18:39
2021-02-24T21:58:05
Python
UTF-8
Python
false
false
181
py
import torch def mask_logits(target, mask): mask = mask.type(torch.float32) return target * mask + (1 - mask) * (-1e30) # !!!!!!!!!!!!!!! do we need * mask after target?
[ "arpad.tamasi@gmail.com" ]
arpad.tamasi@gmail.com
da128a25d5e24b614b0306918706fa1992a57764
247d4252cf5697e37f52ab0b1dd50c38dcf98f5b
/somarecur.py
5915f0751398387e116bea91d4bfe667251f5334
[]
no_license
Moreth768/Aprendendo-Python
3c30c09e808fd8d38a0d2c5a73263f662b22af43
58c475d6d745a41c62621bd3f85653a2f5857087
refs/heads/master
2022-12-01T23:47:15.514954
2020-08-12T13:23:09
2020-08-12T13:23:09
285,584,564
0
1
null
2020-08-06T17:29:32
2020-08-06T13:54:33
Python
UTF-8
Python
false
false
128
py
def soma_lista(lista): if len(lista) == 1: return lista[0] else: return lista[0] + soma_lista(lista[1:])
[ "popo1078@hotmail.com" ]
popo1078@hotmail.com
c687180e562e5f48c0fd7e886718336245d0d3d6
093e942f53979299f3e56c9ab1f987e5e91c13ab
/dev-tools/release_notes.py
c1e053a2d9b0ebb4a5c07afe95a0ba5b39bb31da
[ "Apache-2.0", "GPL-1.0-or-later", "BSD-3-Clause", "MIT", "BSD-2-Clause" ]
permissive
Whale-Storm/Whale
09bab86ce0b56412bc1b984bb5d47935cf0814aa
9b3e5e8bffbeefa54c15cd2de7f2fb67f36d64b2
refs/heads/master
2022-09-26T10:56:51.916884
2020-06-11T08:36:44
2020-06-11T08:36:44
266,803,131
3
0
Apache-2.0
2022-09-17T00:00:04
2020-05-25T14:39:22
Java
UTF-8
Python
false
false
5,672
py
#!/usr/bin/env python # 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 "Lice...
[ "798750509@qq.com" ]
798750509@qq.com
002a987d59a86033782462afb2eaf54c7bd1721c
c448652212609cc55007d4e3cff3bc2fd94b1712
/corvapy/assets/well.py
d4ef04ef133542d2a9f656b5864fe9b4249ce7c7
[]
no_license
bthornton191/corvapy
4fee35d07f5a2156473d37d30ab3f840c7f91648
4e04bf3eced9fde0f76f2ff774da4473fa85feed
refs/heads/master
2020-08-08T20:35:14.023895
2019-10-10T19:40:40
2019-10-10T19:40:40
213,912,371
0
1
null
null
null
null
UTF-8
Python
false
false
2,466
py
"""Module containing the Well class """ class Well(): """Class containing data about a corva well """ def __init__(self, params, corva): self.name = params['name'] self.rig = params['parent_asset_name'] self.casings = self._get_casing(corva) self.surveys = self._get_survey(...
[ "ben.thornton@mscsoftware.com" ]
ben.thornton@mscsoftware.com
50ac7d9499d215fdeee98e4acab4c2ba61d65aa5
a704c91ba38fb9f733102506f3bbf1325ab0e73b
/loans/asgi.py
e0a7f28c0e79d8818c407d48e9c27dbbbb8509f2
[]
no_license
Nyakinyua/Loans-
e2b69ef00118ab2831df5b12a9e9987944bd23a2
fd9d9d51cfb02905001921f7c989ea11be0f68e4
refs/heads/master
2023-04-03T03:12:29.134845
2021-04-13T09:26:44
2021-04-13T09:26:44
348,429,796
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" ASGI config for loans 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTING...
[ "wanyakinyua968@gmail.com" ]
wanyakinyua968@gmail.com
961463af7f72a271cabbeb12200888b42613eece
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02820/s467587633.py
fa3163e453745247ba7d8f8b2cd48d58de4cc18e
[]
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
750
py
n,k=map(int,input().split()) R,S,P=map(int,input().split()) T=input() t="" count=0 for i in range(n): if i>k-1: if T[i]=="r": if t[i-k]!="p": t=t+"p" count+=P else: t=t+" " if T[i]=="s": if t[i-k]!="r": ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9469ff7eb2848c96ea8746c0ecaacf4bc0b3b4cb
8a0bc79a1c668624ac2c52ec14c5e84a4ec123da
/project/api/tasks.py
3d352b3942b562d241c0586f96e4487d2ec9bc80
[]
no_license
ammeitzler/conduent-facial-recognition-server
0d7f4fe14d4b1c538c6595d6cdf28d79ac949165
82c2008aa3d14556114a14295fefba8af3f04a2b
refs/heads/master
2022-12-11T23:27:09.305114
2019-11-01T10:21:17
2019-11-01T10:21:17
218,963,145
0
0
null
2022-11-22T03:36:47
2019-11-01T10:19:53
Python
UTF-8
Python
false
false
2,789
py
from project.api.serializers import * from .models import * from rest_framework import viewsets, status, generics from rest_framework.response import Response from rest_framework.decorators import detail_route, list_route, action from django.utils.decorators import method_decorator from django.views.decorators.cache ...
[ "ammeitzler@gmail.com" ]
ammeitzler@gmail.com
cda754c843996deb186c2e23dde533e8fee2c7e6
4a6ee62745aaad67326bf6e3bb2001f5ef84b8ab
/music/admin.py
a2ccca151a409e344792bd5071c78414ad43b21b
[]
no_license
sandeep201451066/MusicAlbum
437c79599fa56a6b21354e3d376a21d0b48f47a9
bb3b1c176eb2f2bccdd88547fc1f04ee8262ac28
refs/heads/master
2021-01-12T02:36:59.740581
2017-01-07T06:57:05
2017-01-07T06:57:05
78,078,547
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.contrib import admin # Register your models here. from music.models import AlbumList, SongList admin.site.register(AlbumList) admin.site.register(SongList)
[ "you@example.com" ]
you@example.com
a0a9f01578d0557f276aee5bc979f39d9ee8570e
f15df8f7ebdb77ca4ad2525e51b3259195bdf01b
/econ/common_services/views.py
a93baa5ebf08bfdbec539e31426bbdfe1bd9504b
[]
no_license
naveenmotpuse/knanalytics
474d74ed4699655a3801f4254a307cf86dfe36ff
e355927950545c810aa3eab35309d7c41f1ccf65
refs/heads/master
2020-03-28T17:00:11.683442
2018-09-26T06:22:15
2018-09-26T06:22:15
148,749,278
0
0
null
null
null
null
UTF-8
Python
false
false
77,363
py
''' Created on 15-Apr-2016 @author: naveen@knowdl.com ''' import os import json import requests import _csv #import urllib2 import datetime from gldata.models import SessionData from django.http.response import HttpResponse from econ.utils import CorsHttpDecorator from econ.common_services.models import FredUSRegConGa...
[ "naveen@knowdl.com" ]
naveen@knowdl.com
f9d21c082971d24ac6b391cc5207c371827eb3e0
56ba070d08b813141b24d39c87dfbcc8a48d207b
/catalog/migrations/0050_auto_20210610_0935.py
60495ba4a0dd3e182bc4fa4f745105ba0a63b523
[]
no_license
vongocchinh/ecommerce-django
5870efe7679ea547e28c8238469321e93886ab19
28bdc7cc386c25f2b544b5ba5ef4b0bb47b48c0e
refs/heads/master
2023-05-10T15:12:36.299319
2021-06-11T08:51:20
2021-06-11T08:51:20
369,414,844
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
# Generated by Django 3.1.7 on 2021-06-10 02:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('catalog', '0049_auto_20210610_0935'), ] operations = [ migrations.RemoveField( model_name='bill...
[ "{ngocchinh1410@gmail.com}" ]
{ngocchinh1410@gmail.com}
3a7ab99531285135c76dc756fbc5cf643925f8ee
8af2980e852fe35a13d88ba3e49d8110ffc9ac3f
/analysis_tiktok.py
5abaa08adbd8905c3788936ae9f1a2f8ef042034
[]
no_license
nicolelizabeth/Text_Analytics_Project
836ef586cbc55c0d95a89e1622f88f3bf73fd65d
d764751e24ebe9fad28c9d739385b0e9647eab1b
refs/heads/main
2023-08-22T11:20:22.222877
2021-10-18T21:06:48
2021-10-18T21:06:48
417,296,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
import pandas as pd import matplotlib.pyplot as plt import seaborn as sns import datetime as dt scored = pd.read_csv('C:/Users/jackm/Documents/analytics/fall2/text/scored_reviews.csv') scored["posted_date"] = pd.to_datetime(scored["posted_date"]) mask = (scored['posted_date'] > '2018-1-1') scored = scored.loc[...
[ "noreply@github.com" ]
noreply@github.com
e91444a32219889c3874d26dc56e05dd5eedf9ca
e4e9370bfb5b5ad5c8a2c9fbbc4bbfab6ed1f434
/ecommerce/store/migrations/0021_auto_20210409_1533.py
054a685617117cdafbca626ad86829a7402ee059
[]
no_license
unsw-cse-comp3900-9900-21T1/capstone-project-3900-w18a-let-s-chat
efc5c9bede823f33209474475d8047c7c246e1ad
e45cf4414ed62dc679e26804dae45af5e61cbf63
refs/heads/main
2023-04-10T10:44:08.592759
2021-04-23T09:07:12
2021-04-23T09:07:12
343,309,639
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
# Generated by Django 3.1.7 on 2021-04-09 05:33 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('store', '0020_auto_20210409_1525'), ] operations = [ migrations.AlterField( ...
[ "78832179+ilze3e3@users.noreply.github.com" ]
78832179+ilze3e3@users.noreply.github.com
28212f362a4f92bed33573a6494c969cc195eedd
5312378828735d1b509b694d608d50882030fd25
/Logical_opera.py
4436c9a17e2893963ddf2c7fddc6413b92b71695
[]
no_license
Ravi-Nikam/Python-Programs
bfa3061da333e58b7d5fe71716452ee1d883bb4b
d91e784e9f7d1465ea7061b61d386592499a7df6
refs/heads/master
2022-11-19T22:19:05.396739
2020-07-21T18:03:44
2020-07-21T18:03:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
#Logical operators: Logical operators perform Logical AND, Logical OR and Logical NOT operations. a=(input("Enter the no1:")) b=(input("Enter the no2:")) # Print a and b is False print(a and b) # Print a or b is True print(a or b) # Print not a is False print(not a)
[ "noreply@github.com" ]
noreply@github.com
8bb8e12fbb2f372f4631fe6a8cdf351b7b848367
d6b31eb2ac554467ca72bba567640e5d4264b9e8
/src/dataset/raw_image.py
08ef58e234a2acff8ca114f6e7f8a85823c08319
[]
no_license
datomi79/cresi
2057e708a779c3b1a6b2551a5424242362040b07
985f1a33bdd65a8b8988bf9ffc68cf8d910513c3
refs/heads/master
2020-07-18T20:00:46.257806
2019-07-25T12:51:52
2019-07-25T12:51:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
import os import scipy.misc #from scipy.misc import imread import skimage.io import numpy as np from dataset.abstract_image_type import AbstractImageType from other_tools import apls_tools class RawImageType(AbstractImageType): """ image provider constructs image of type and then you can work with it """...
[ "adam.van.etten@gmail.com" ]
adam.van.etten@gmail.com
81500922d96e1dcf88f6749557790f570cda92ca
cf1431d3d4843fda317ec9c1d39cceaa0cbe69e2
/gewittergefahr/gg_utils/time_periods.py
102edab472e111ff3dd03896c662b6a0a7d926a4
[ "MIT" ]
permissive
theweathermanda/GewitterGefahr
9dad0f5d4595db647d511a7b179b159201dff4f2
b8bcbf4c22457b3aa4613ff2c07b32a6e71068e2
refs/heads/master
2020-04-26T02:20:40.434434
2019-02-17T03:42:31
2019-02-17T03:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,831
py
"""Methods for handling time periods.""" import numpy from gewittergefahr.gg_utils import number_rounding as rounder from gewittergefahr.gg_utils import error_checking def range_and_interval_to_list(start_time_unix_sec=None, end_time_unix_sec=None, time_interval_sec=None, include_endpo...
[ "ryan.lagerquist@ou.edu" ]
ryan.lagerquist@ou.edu
2c89c660b810940e0e17394b53f00bb8ef74ea30
473060b36cb34668e2900e43aed22f4f41ce5140
/python-api/conftest.py
b5253fccd946683a2e2f864e826af56e43066847
[]
no_license
pavelsaman/test-blueprints
5bbce7d7724ca0a4a19914e5f18eeb250f1c86f5
1fecb2bccb3c257ef1fad1d4137831111fb67073
refs/heads/master
2023-04-29T01:41:39.172550
2021-05-26T20:16:32
2021-05-26T20:16:32
368,270,825
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from Configuration.Config import Config def pytest_configure(config): config._metadata['Env'] = Config.env() config._metadata['Base Url'] = Config.base_url() def pytest_html_report_title(report): report.title = Config.REPORT_TITLE
[ "pavelsam@centrum.cz" ]
pavelsam@centrum.cz