blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
08cff1c416ee885be7a603e99c2b144ecffaac48
caf548005686f0c43e892efd05c53e22af95165e
/apriori.py
4c097ce4eb739043e24bc3da36d1cc92173328f1
[]
no_license
NineTenth/Association-Analysis
c8955db290595259ce3c40084771e5d62e503d2c
7ee55e8e37bc5fbd6f9485dcca31416efe85d830
refs/heads/master
2020-08-19T20:49:50.343719
2019-10-18T06:09:24
2019-10-18T06:09:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,692
py
""" implement the Apriori algorithm tested with python 3.X """ import re from collections import defaultdict from itertools import combinations, chain from optparse import OptionParser import pickle def parse_file(filename): """ parset the file to get all transactions. Translate the bi...
[ "noreply@github.com" ]
NineTenth.noreply@github.com
a7f2c0021ad9c5918e45f71a7a21ffa086500a05
6d2fd7069492c9f0b54b8ecbcd1ef3ae02811cb5
/Split_Task.py
9e6bd56dd2a03a591145fb78899518f2987ba5f1
[]
no_license
MaYihang/WisAPS_1.5
1a413599e40533277ebd5d7c708871a1fb70a4c2
ffb205af68a58630b1ef3caadd911f5fed95b60e
refs/heads/master
2020-05-02T01:51:20.217360
2019-03-26T08:50:50
2019-03-26T08:50:50
177,693,224
0
0
null
null
null
null
UTF-8
Python
false
false
4,607
py
#!/usr/bin/env python # coding: utf-8 #根据工艺BOM将订单拆分成生产任务 from Calculate_ProductionNum import calculatenum import copy,time,collections def Analysis_Sales_Order(Sales_Order,production,Materials,OUTPUT,urlpath): Order={} prioritylist=[] Keylist=[] for i in range(len(Sales_Order['saleOrder'])): ...
[ "noreply@github.com" ]
MaYihang.noreply@github.com
030b8c613b906d3a24adb081e283f051b7de4093
738ca72f3375b23f6d2c07d2d24b6057db884477
/reward/comparative/train.py
bff9564222afeaa9e4717652678049188be1ccff
[ "Apache-2.0", "MIT" ]
permissive
JFCeron/turingadvice
cbc3e501012d4ac8957fe874345a4c6e5878a310
7f5a23ee7528bf13a650c862a86e1071ef1f7603
refs/heads/master
2023-08-12T08:39:18.555938
2021-09-07T12:16:01
2021-09-07T12:16:01
385,405,676
0
1
NOASSERTION
2021-08-25T14:14:07
2021-07-12T22:59:29
Python
UTF-8
Python
false
false
5,299
py
import os import sys import json from time import time from absl import flags import tensorflow.compat.v1 as tf from reward.comparative.model import ComparativeRewardModel from reward.comparative.data import SEQUENCE_LENGTH, MODEL_DIR PARAMS_OUT_PATH = os.path.join(MODEL_DIR, "params.json") PRETRAINED_MODEL_DIR = "g...
[ "juanfceron@gmail.com" ]
juanfceron@gmail.com
f38e1dfcb655c6dbc788d7f7694c8cc180984438
1a827ce2bfacaa31ce58473f65cec94772c972ea
/tool/Sinwave/density_analysis_sinwave.py
736127fdbcfce59714de38586caf5803fb57ae4a
[]
no_license
CrazyAncestor/Multigrid_Poisson_Solver
b3fb607142aef0fea4f3605c5840c3cd7dfe1bc4
d215cf5d740179011f5fd41c73576a54499233b1
refs/heads/master
2023-06-03T17:37:30.319100
2021-06-29T11:17:10
2021-06-29T11:17:10
367,280,652
0
2
null
2021-06-22T04:42:52
2021-05-14T07:13:52
C++
UTF-8
Python
false
false
2,422
py
import numpy as np import matplotlib.pylab as plt from matplotlib.colors import LogNorm def plot_matrix( matrix, plot_title, savename="" ): fig, ax = plt.subplots(1, 1, figsize = (10, 10)) #im0 = ax[1].imshow(data, origin = 'lower', norm=LogNorm(vmin=1.e-1, vmax=1.)) im0 = ax.imshow(matrix, origin =...
[ "colonist288@gmail.com" ]
colonist288@gmail.com
14e2bb21ba342418565ae2afe0de4b1f5e401027
491477ef55201848be191a0c4161ed1158b47cca
/MyGW/InsCompany/migrations/0051_auto_20190513_0032.py
dd12a9e4b3a11c1d2139cfd43c2f6ad72607e148
[]
no_license
meluzoff97/my_diploma
6224828aae8a1fbf08f262871444a21bfc4dc010
b20277e026bd20b4fde43865de42311975902a67
refs/heads/master
2020-12-23T05:34:47.810507
2020-01-29T18:36:38
2020-01-29T18:36:38
237,050,828
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 2.1.7 on 2019-05-12 21:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('InsCompany', '0050_contractrisk_tcr_str_sum'), ] operations = [ migrations.AlterField( model_name='risk', name='rsk_...
[ "meluzovoleg1997@mail.ru" ]
meluzovoleg1997@mail.ru
2f52aaac7e20119310401c3ba628d0ea489c2a5b
0845b9e00b0046c409eff2b55c835c331190a2dc
/Example_code/bullets.py
9f4598ab62b9538ba20843eecbbaf22de1f1f74d
[]
no_license
crazcalm/Learn_Pygame
edba44f4ff89add764ee3f6b2558172465f9cc26
e93c482fb9eb392912627855b11ff2c36c22a191
refs/heads/master
2020-04-05T22:56:29.928626
2014-09-27T07:08:29
2014-09-27T07:08:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,486
py
""" Show how to fire bullets. Sample Python/Pygame Programs Simpson College Computer Science http://programarcadegames.com/ http://simpson.edu/computer-science/ Explanation video: http://youtu.be/PpdJjaiLX6A """ import pygame import random # Define some colors BLACK = ( 0, 0, 0) WHITE = ( 255, 2...
[ "crazcalm@gmail.com" ]
crazcalm@gmail.com
863a82578f363d6fae80430289a99afa0439e46d
9288eb470e07086c08714de99ef115ba705acf9a
/machine-learning/assignment-4/convnetjs/convnetJS_data.py
12715a7cb5649ff685d9dd115be07772d6cfbf64
[]
no_license
kuljotanand/cornell-tech
3205a6477d236bdddd10d81686908560cd162f13
13c135911f10cf7ac3938ec237de2f81131e13cb
refs/heads/master
2020-06-19T16:37:55.354607
2016-05-15T03:05:43
2016-05-15T03:05:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
210,716
py
from matplotlib import pylab as plt import numpy as np get_ipython().magic(u'matplotlib inline') loss_data = [0.08701109234449807,0.0867698515527921,0.08648842362361969,0.08613665264633835,0.08576907492778794,0.08544200723252081,0.08503090264421877,0.08463666288290092,0.08425082842178706,0.08387088447615063,0.08351666...
[ "DanielSpeiser93@gmail.com" ]
DanielSpeiser93@gmail.com
296389490aace5681d56176f2a28a2d29eaf0359
aaf5bd6d931cf79935ee6234d4dc10858d12e763
/fig-supp5.py
23e54b5d940b19f4eada39e2879daa78f6cd0cf4
[]
no_license
weilin2018/PISCESiso_Ncycle_analysis
0f4a2fe9906bdcc0eebb7d718b02c4d91d62dce4
f85e1fcc3d8ff508751f3bce02fc6c3c185d5ab8
refs/heads/master
2023-02-03T15:37:08.752824
2020-12-18T17:23:28
2020-12-18T17:23:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,084
py
# -*- coding: utf-8 -*- """ Created on Fri Feb 14 10:45:58 2020 used in conjuction with ncycle_changes_climatechangeonly.jnl in /users/pearseb/analysis_picontrolfuture/ @author: pearseb """ #%% imports from __future__ import unicode_literals import os import numpy as np import netCDF4 as nc import matplotlib impo...
[ "pearseb@liverpool.ac.uk" ]
pearseb@liverpool.ac.uk
c58a59afa224e050c2b749dff2d5b56e62cb0988
33fdd062a2b8c6537814f9460a2f57ee18902e39
/events/models.py
53b7412b04eba1e59b5980eb5d86d1a991b7c548
[]
no_license
AnusiyaSs/Web-Calendar-
4b115e72e70c768f0150074a7ca028da9fd72baf
8168cbfb709415d6831246d082725e2b3a60920c
refs/heads/master
2023-01-30T12:05:14.542074
2020-12-13T18:04:09
2020-12-13T18:04:09
321,125,931
0
0
null
null
null
null
UTF-8
Python
false
false
1,945
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.core.exceptions import ValidationError from django.urls import reverse # Create your models here. class Event(models.Model): day = models.DateField(u'Day of the event', help_text=u'Day of the event') start...
[ "anusiyasubramanian@gmail.com" ]
anusiyasubramanian@gmail.com
43c2d7552ae0cb24985f97e002e8cd52c67c1543
2a979f905411bc360db8f16713eb446df8e4c6bf
/installmissing.py
6462c3325b004c107bcbb89e0d90218706747e75
[]
no_license
bharathphani/sentiTweetAnalyser
e320c5700e042c198ca6740838231ceb44d8f8b1
ecf2e0622c3ff08f77e773fe30caa2ba0c987e90
refs/heads/master
2023-01-05T21:44:34.122121
2020-11-06T08:19:52
2020-11-06T08:19:52
310,527,096
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import nltk import ssl try: _create_unverified_https_context = ssl._create_unverified_context except AttributeError: pass else: ssl._create_default_https_context = _create_unverified_https_context nltk.download('rte') nltk.download('stopwords') nltk.classify.DecisionTreeClassifier.pretty_format()
[ "Bharath.Hogirala@iqvia.com" ]
Bharath.Hogirala@iqvia.com
e32a23c9ce2ef57f7dc91ac6f47085999b66c9c5
6b4aad5166fda5d3ac9c9592d89d057ac3d3198c
/Where2go/urls.py
affa87419394390b189bbbee2fc95a42989ad1eb
[]
no_license
Thitipat3006/Thitipat3006.github.io
591e52198cc093a9f8c32ea9224edeeef52b3440
576c84373d446fe0963f4811cee2d20c09a85d17
refs/heads/master
2023-01-23T04:21:28.615194
2020-11-20T15:53:51
2020-11-20T15:53:51
314,593,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
"""Where2go URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "Thitipat.phongvhutivase.eig@gmail.com" ]
Thitipat.phongvhutivase.eig@gmail.com
c04d44f0f6c5351e9d4b4c272a67500edc65c7af
ba4e017319aca6dc4a84d46dc7ea0d39578ac0e3
/triangle.py
d52c1819bb15e01ba0baad8a3add1fb69a8d7a15
[]
no_license
johnwmerrick/hello-world-git-tutorial
6d3d9a70af74ff1e3ac80fb8b3e1cb5f13969d90
f2d70f98aec68fd7d76777993050b0ad267ef4e0
refs/heads/master
2020-12-13T13:50:10.561495
2017-06-27T16:52:45
2017-06-27T16:52:45
95,578,837
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
import turtle painter = turtle.Turtle() for _ in range(4): painter.forward(100) painter.left(110) turtle.done()
[ "johnwmerrick@gmail.com" ]
johnwmerrick@gmail.com
452bb4a716c3bd8adec7df2878cd13e873b5b57d
d75fbceb28ad14b07ae4057a8b23ec0bd3682628
/code/chap08/ZombieMobGame.py
1ca5ebc7b9173aa046b6f7eb320226cfc169fb42
[]
no_license
wubinbai/pygame-book
0707a0b36f41bc6f0b1282707e6c4f6cbed9c87a
9de1f7516a2aec940ffa97f9686cc0520bad2deb
refs/heads/master
2020-12-21T15:51:08.397619
2020-01-30T12:37:52
2020-01-30T12:37:52
236,478,999
0
0
null
null
null
null
UTF-8
Python
false
false
5,667
py
# Zombie Mob Game # Chapter 8 import itertools, sys, time, random, math, pygame from pygame.locals import * from MyLibrary import * def calc_velocity(direction, vel=1.0): velocity = Point(0,0) if direction == 0: #north velocity.y = -vel elif direction == 2: #east velocity.x = v...
[ "wubinbai@yahoo.com" ]
wubinbai@yahoo.com
e3f890accfaebc27cdbdba58322ed3461881bb7e
871b5c6bedb36e85eeaae19fbec9be5dbc620baf
/NrTelFindall.py
515bc23c49bab0f5f7c4563d71f4f4bad61ff9d4
[]
no_license
Swantewit/Zadanka-Python
2e3af63a84aa4c5bce7282e1b6dcf66c8eb21a07
7e5061e0c048bfe8e64515c615eb1a5584e8236b
refs/heads/master
2022-12-27T18:38:07.928401
2020-10-04T09:31:20
2020-10-04T09:31:20
278,830,759
0
1
null
2020-08-11T18:57:00
2020-07-11T09:34:29
Python
UTF-8
Python
false
false
2,303
py
import re moList = [] phoneList = [] phoneRegex1 = re.compile(r'\(\d\d\d\)\s\d\d\s\d\d\s\d\d\d') #(022) 44 32 180 phoneRegex2 = re.compile(r'\(\d\d\)\s\d\d\s\d\d\d\s\d\d') #(22) 44 32 180 phoneRegex3 = re.compile(r'\d\d\d\d\d\d\d') #4432180 phoneRegex4 = re.compile(r'\(\d\d\)\s\d\d\d\s\d\d\s\d\d') #(22) 443 21 80 phon...
[ "feniks@Kubas-MacBook-Air.local" ]
feniks@Kubas-MacBook-Air.local
8ac47e70cea92610039e27232466aedce1b4d4b6
c5664503436bc77018387eb02916554e3e5d6edf
/users_app/forms.py
85c53397e32ce8c835c9a5eca626f9ed56d906a8
[]
no_license
99900999/TodoList
0e4d05f5c7c9becee1e8f4c3efce32563a9cac97
1be62b0b5af3056aae94c8b8b757b2f25e8149e8
refs/heads/master
2023-06-06T03:34:13.342379
2021-06-23T09:15:15
2021-06-23T09:15:15
379,517,670
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class MyCustomForms(UserCreationForm): email = forms.EmailField() class Meta: model = User fields = ['username', 'email', 'password1', 'password2']
[ "alexbond0@protonmail.com" ]
alexbond0@protonmail.com
54afde09056b04d1e0191dfd9bbd34890a6d8227
3a82909d088bed10a8a7b6f270f9f3f6dcc6365b
/newscatcher/__init__.py
82dcbe2e64f41063a5bfb7bb2ba5aac74e038cd1
[]
no_license
BecketTrotter/newscatcher-rewrite
f3aec94f4db965c5819281f93481a6d98435069e
090d7f98a6692a4a5ff76cb63fdeafe8e56e19b5
refs/heads/master
2022-07-17T01:29:01.525197
2020-05-20T18:36:51
2020-05-20T18:36:51
264,056,299
0
0
null
2020-05-19T18:06:51
2020-05-15T00:25:48
Python
UTF-8
Python
false
false
6,978
py
#Retrieve and analyze #24/7 streams of news data import sys import sqlite3 import requests import feedparser import pkg_resources from tldextract import extract DB_FILE = pkg_resources.resource_filename('newscatcher', 'data/package_rss.db') class Query: #Query class used to build subsequent sql queries def __init__...
[ "hbtrotter38@gmail.com" ]
hbtrotter38@gmail.com
63605a30a33ff7941a30fedd5ce7f6319ab20aaa
79eb6050634c673b49005efba559a7cb69654814
/tools/roslaunch/test/unit/test_roslaunch_child.py
beac7e531b8d4518a205f1d4ca6df7f98ed24280
[]
no_license
meyerj/ros_comm
4df048aab7a738e83888328f196e8a897f72d445
2eeb24d50a1587a69e1cdab8a1f654a5645026b4
refs/heads/groovy-devel
2021-01-21T00:06:28.816807
2013-01-09T19:35:43
2013-01-09T19:35:43
7,527,514
1
3
null
2020-05-20T14:19:11
2013-01-09T19:33:35
C++
UTF-8
Python
false
false
6,290
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code...
[ "kwc@willowgarage.com" ]
kwc@willowgarage.com
89664b7d6b0d00870fd1ea6c501c6c7e2e2b6165
cabcdcd7cfb96a320df15303c173e6be69927894
/ptsemseg/metrics.py
0df42da6375364b94c4af9cc108762777b0d9404
[ "MIT" ]
permissive
htt1994/recurrent-unet-drive
5b760b8750998c8deca29519b1feeec248349c95
d260e39541a8224deebfd1bd47e7fefb1666cf05
refs/heads/master
2023-03-01T17:01:48.095357
2021-02-09T15:12:37
2021-02-09T15:12:37
337,642,256
3
0
null
null
null
null
UTF-8
Python
false
false
9,667
py
# Adapted from score written by wkentaro # https://github.com/wkentaro/pytorch-fcn/blob/master/torchfcn/utils.py import IPython import numpy as np # from sklearn import metrics def softmax(x): """Compute softmax values for each sets of scores in x.""" return np.exp(x) / np.sum(np.exp(x), axis=0) class running...
[ "1204908836ht@gmail.com" ]
1204908836ht@gmail.com
1d4abd406e5975787c37fe68fdc30ace92e9a531
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/pyexcel_20201111162515.py
eb28ae94c2e1ecfb48fe15a06c26ed612a6d0851
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
from openpyxl import Workbook from openpyxl.utils import get_column_letter wb = Workbook() dest_filename = 'empty_book.xlsx' ws1 = wb.active ws1.title = "range names" for row in range(1, 40): ws1.append(range(600)) ws2 = wb.create_sheet(title="Pi") ws2['F5'] = 3.14 ws3 = wb.create_sheet(title="Data") for row ...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
45a02a6719fec9aa6232df31fedd69b017d0fe94
695d1135383abb4cb048e535f7de6e363484d199
/Routers/router_main.py
17a8fdf8d98e4a22e9232a0189a502577aae30ea
[]
no_license
jakenissley/4344_Project3
110072775bda210fbddb897732cf39031bad98ac
d983e7fae0b0799347d6ad6b294bdbce7123eb18
refs/heads/master
2020-03-14T14:10:57.598564
2018-05-08T23:23:15
2018-05-08T23:23:15
131,648,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
from collections import defaultdict from heapq import * import json ROUTER_DICT = {"A": 10000, "B": 10001, "C": 10002, "D": 10003, "E": 10004, "F": 10005, "G": 10006, "L": 10007, "Ann": 10010, "Chan": 10011, "Jan": 10012} # Reads each line of file and stores in a list called "content" def read_file(filename): with...
[ "jake.nissley@gmail.com" ]
jake.nissley@gmail.com
259bd4310a5b596b737a9ccae5087953d99928ea
74bc48ba64859a63855d204f1efd31eca47a223f
/Nature/9999.Reference_DataAugmentation.py
6ab2dd8feba11d86b67d6f5132136efada9cf3c9
[]
no_license
PraveenAdepu/kaggle_competitions
4c53d71af12a615d5ee5f34e5857cbd0fac7bc3c
ed0111bcecbe5be4529a2a5be2ce4c6912729770
refs/heads/master
2020-09-02T15:29:51.885013
2020-04-09T01:50:55
2020-04-09T01:50:55
219,248,958
0
0
null
null
null
null
UTF-8
Python
false
false
9,841
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 01 19:08:48 2017 @author: SriPrav """ # -*- coding: utf-8 -*- """ Created on Mon Jan 09 20:02:03 2017 @author: SriPrav """ import numpy as np np.random.seed(2016) import os import glob import cv2 import datetime import pandas as pd import time import warnings warning...
[ "padepu@wesfarmers.com.au" ]
padepu@wesfarmers.com.au
eaa4fef447966a8d507031bf60d3191e21d44c33
40d0e54f9dfdf351f6fa60d0ab4863155df6fa21
/lib/python3.4/functools.py
97e47ec426b53ae4674e3bb1f43b83fe1f07635b
[ "MIT" ]
permissive
lentebloem/all-in
a8d437940effd8b5466fac7ba7951aedc705021e
73f3b8382dfd7cb14ee93c5fb191442ee540a59a
refs/heads/master
2020-09-27T02:05:34.499462
2016-09-12T21:56:45
2016-09-12T21:56:45
67,833,696
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
/Users/lentebloem/anaconda3/lib/python3.4/functools.py
[ "thisisreallyaname@gmail.com" ]
thisisreallyaname@gmail.com
8351c4458df01a6698c6fa4e750fac8b2a8632b0
5b87fe5ea1b58af5f5d711f8395cd302eb592544
/billow_web/config.py
bf451a1e0af1dfdbf860ac7770ee531babe1d33c
[ "BSD-2-Clause" ]
permissive
WrathOfChris/billow-web
63bab9330893d560c6a0618af7188026aa02f198
1a96a86a3648b4d0450fe033122a988b521e1ad5
refs/heads/master
2016-09-10T01:07:01.222741
2015-09-20T22:09:16
2015-09-20T22:09:16
30,422,520
0
2
null
2015-05-22T15:58:06
2015-02-06T16:50:26
HTML
UTF-8
Python
false
false
940
py
from billow_web import app import os, os.path import yaml # Load default config and override config from an environment variable app.config.update(dict( DEBUG=True, )) #app.config.from_object('yourapplication.default_settings') if 'BILLOW_SETTINGS' in os.environ: app.config.from_envvar('BILLOW_SETTINGS') ...
[ "chris@wrathofchris.com" ]
chris@wrathofchris.com
e04df6e96e0af2e9b8800c912ee817bcde20a7e0
694a8f55f7fc2739568bf33c4261a6922a4c99ef
/subscribers/admin.py
69e0e90981b1559e5ed4c34b8b54d42ecbb35bda
[]
no_license
Chessy11/Wagtail-CMS-
52ac1161c2a98e065538180771a0f5c3ce85a11e
11445e82dfa7619f5edfdc0ce2824e0c3aa6e301
refs/heads/main
2023-04-25T00:26:21.104109
2021-05-19T17:02:13
2021-05-19T17:02:13
368,939,643
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
from django.contrib import admin from . models import Subscribers from wagtail.contrib.modeladmin.options import( ModelAdmin, modeladmin_register, ) class SubscriberAdmin(ModelAdmin): model = Subscribers menu_label = "Subscribers" menu_icon = "placeholder" menu_order = 290 add_t...
[ "noreply@github.com" ]
Chessy11.noreply@github.com
22538c1872651bbd4379297308f9c18132212af5
ba419c981269f90bc90eebc5753c2101273b70a8
/scripts/previous_versions/emspost.py
29ef57206713602829aa8211adf818c14022246c
[]
no_license
postscanner/postscanner
1c88ac2905bffbcca3ff0d3a8d15e7ea2472b46a
c8fa29993848d7f173662ce36fbad09b67d8501c
refs/heads/master
2021-01-18T18:18:25.189096
2016-06-08T21:21:32
2016-06-08T21:21:32
60,731,128
0
1
null
null
null
null
UTF-8
Python
false
false
918
py
import json import requests import sys url = 'http://www.emspost.ru/api/rest' #print("Original city:") #originalCityName = input() originalCityName = sys.argv[1] #print("Deliviry city:") #deliviryCityName = input() deliviryCityName = sys.argv[2] #print("Weight:") #weight = input() weight = sys.argv[3] payload = {"me...
[ "dmitriy.supov@gmail.com" ]
dmitriy.supov@gmail.com
c9d3d73efd742fdf61608122f086a2169fe1966e
76e6f61c4b4adc163e95f5ac847a576cd8f416b5
/main.py
9e6ab7fa6b2495737f69473c86caa92c2fb0d5d4
[]
no_license
nick-andri/media
42880f4daa4a1cefa5ec7fc2c490de7ee43d8f63
568c7ca8899eec762f428a2b0d45c973d3b9ced6
refs/heads/master
2020-06-21T08:03:59.406873
2019-07-19T10:02:48
2019-07-19T10:02:48
197,389,790
0
0
null
null
null
null
UTF-8
Python
false
false
4,838
py
import sys from PySide2.QtWidgets import QApplication, QMainWindow,QFileDialog,QListWidgetItem from ui_media import Ui_MainWindow from PySide2.QtMultimedia import QMediaPlayer,QMediaContent from PySide2.QtCore import QUrl,QTime,QFileInfo class MainWindow(QMainWindow): def __init__(self): super(MainWin...
[ "nick.andriambahiny@gmail.com" ]
nick.andriambahiny@gmail.com
0f570f74b9b3b9d552b0e4f7869f248154c07d40
8add4f89c304b715bd998a5e0629f2d603f4bb8d
/multiclass_perceptron.py
1bb8be2962e4f811c7e805dd91b7ef97c329eb62
[]
no_license
buraktekin/text_normalization
55a4abf42649837fea663defeaaacb435cd151c0
77d3bccb2da67e6581bf06dcdb11802b425e68c1
refs/heads/master
2021-05-05T11:48:44.208841
2017-09-25T21:13:35
2017-09-25T21:13:35
104,714,407
1
0
null
null
null
null
UTF-8
Python
false
false
2,332
py
from features import Features from perceptron import Perceptron class MCP(object): """docstring for MCP""" def __init__(self): self.MAX_ITERATION = 10 self.perceptrons = dict() def create_perceptrons(self, corpus): for classname in corpus.get_list_of_unique_classnames(): p = Perceptron() p.set_name = c...
[ "tknbrk@gmail.com" ]
tknbrk@gmail.com
d14ec836cc015536b3f4fbbea3e42722d329fe10
fc276597c51509a13bf2c622c91123eb4987d6b2
/setup.py
d45a7fa220a59b4a2f456f2596709f0d4c052620
[ "Apache-2.0" ]
permissive
zaquestion/requests-mv-integrations
df1150b0efb8bf4d97979e8ed3499737d98fa16d
b8f3332c1cd564ef106e725e0ee3436913fa8e19
refs/heads/master
2020-06-29T11:12:30.990262
2016-11-22T01:56:56
2016-11-22T01:56:56
74,429,832
0
0
null
2016-12-06T18:57:52
2016-11-22T03:21:53
Python
UTF-8
Python
false
false
2,180
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @namespace pycountry-convert from __future__ import with_statement # To install the tune-mv-integration-python library, open a Terminal shell, # then run this file by typing: # # python setup.py install # import sys import re from setuptools import setup REQUIREMENT...
[ "jefft@tune.com" ]
jefft@tune.com
ea15b6fbf2fb77bf5e3baf35255c9312ab835705
a12ad311c7c410ef22154930c8da4d0e7488bf9c
/04_lekcja/Funkcje.py
fb563121d5b63560ed57ecd5df7871831f2ab131
[]
no_license
z0nky/kurs_python
edb27723a0fe33ad0c4bc20ab0f841bde3071738
4256c4a168249a6f7b306423391107ef7d8b4489
refs/heads/master
2020-08-07T10:55:39.899784
2019-12-01T19:03:37
2019-12-01T19:03:37
213,421,252
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
def my_mood(answer): #zliczamy wszystkie potrzebne parametry print('My mood today:') print(answer) resp = input('How are you?') #funkcja dostaje zmienną resp, która zastąpi answer my_mood(resp) #tworzymy funkcję przyjmującą parametr i zwraca odpowiedź dwukrotnie: def my_mood(answer): return answer * 2 ...
[ "aphesia90@gmail.com" ]
aphesia90@gmail.com
ae428ae1f940a3c45e8828a289e284ad3dfcf16f
7337b289bab3bd87a616025ac7a2d0b4fde57d6c
/Recommender System Scripts/recommender_cleaning.py
c51faa943cd24f6816f2a75ae35cff7e1ce36030
[]
no_license
abitbetter/CKME136
5192ab6de24633c2013da617daf25241e46365c3
3427a36b284a3dab45d1703598a47048181b0b52
refs/heads/master
2020-04-15T22:08:16.868266
2017-11-21T19:43:28
2017-11-21T19:43:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,431
py
#!C:\Users\Alex\Anaconda3\python.exe import cgi, json import pandas as pd import numpy as np from kmodes.kmodes import KModes import datetime print("Content-type: text/html\n\n") cluster_num = 3 #HANDLING POST REQUEST DATA form = cgi.FieldStorage() meal = int(form.getvalue("meal")) #incorperated into da...
[ "noreply@github.com" ]
abitbetter.noreply@github.com
acd0fa056ebbd9a7239cee3d6c47af023bbbbbb6
3deb8547395318885455a1094bf32291ee84c5fd
/C01_Image_Processing/12Contrast.py
87d2a29b39e67e324ebf4bcf57627ed2fe03d18c
[]
no_license
SanjoyPator1/ImageProcessingSkillsTrackDataCamp
1978520dae29e89533d840af81e2252711f51bc0
a6b7eb1b9ad193336ea02b81619de0b437940744
refs/heads/master
2022-12-28T12:44:30.096203
2020-10-04T16:15:02
2020-10-04T16:15:02
298,842,849
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Import the necessary modules from skimage import data, exposure # Load the image original_image = data.coffee() # Apply the adaptive equalization on the original image adapthist_eq_image = exposure.equalize_adapthist(original_image, clip_limit = 0.03) # Compare the original image to the equalized show_image(origin...
[ "sanjoypator1@gmail.com" ]
sanjoypator1@gmail.com
318b865387216d39ed0bd4472857241446accb5c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02390/s595695585.py
37891011aec61d584d08c47440668ca2b1330dfd
[]
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
119
py
s = int(input()) min = int(s/60) sec = s%60 hour = int(min/60) min = min%60 print("{0}:{1}:{2}".format(hour, min, sec))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
336ca0b4a1b6749eeb4b4c2d22467077c259f670
61576234cd0b2addc5c2823a8d662ea9ffcafd9e
/checklist/core/models.py
ab855c6917a88447e9376143698b0e44e83bfa6f
[]
no_license
desaidhruv/CheckList-DRF
bfd75d9c9ba933268082bcca90de46e355d6870a
05d34560859997fdafa2c95cbd9ed3f0a2acb040
refs/heads/master
2023-04-27T11:33:00.429094
2021-05-10T14:41:22
2021-05-10T14:41:22
365,716,152
1
0
null
null
null
null
UTF-8
Python
false
false
932
py
from django.db import models from django.contrib.auth import get_user_model User = get_user_model() class CheckList(models.Model): title = models.CharField(max_length=100) is_delete = models.BooleanField(default=False) is_archived = models.BooleanField(default=False) created_on = models.DateTimeField(...
[ "dhruvshah28@gmail.com" ]
dhruvshah28@gmail.com
12bff8442bde473301cd6a09eb4d387c4273d162
50e539aa32595a4ff429f0478532f52615b5d467
/TestSubmission.py
14f69be0c4936abcbc9cd069337559db74435172
[]
no_license
dawsboss/Math471
4fe233ae3027263e37ea98126ea27ee1f25b3ba0
931a01ab44fafc25e1a35d3f27011ccd8ae3e0b1
refs/heads/master
2023-01-28T01:18:26.069239
2020-12-14T16:55:07
2020-12-14T16:55:07
291,696,974
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Sep 30 15:35:35 2020 @author: grant """ print("Test submission for EC")
[ "gdawson2018@gmail.com" ]
gdawson2018@gmail.com
23a14f30b1e0e65c803eebb77f6202112e8470fc
5d02daf3e518fc13b0d21c362d52b8952582335b
/old_blockchain/model/NewConfig.py
8fff99314d980883f15d78a579198e3c732cb437
[]
no_license
davidway/auto_testing
aac60e7e4e1a523cc72b8309d0b633838aa8d732
eef17948f0697e856fe4dd2a393df5034598bbaf
refs/heads/master
2020-04-11T02:40:56.132938
2019-01-12T07:49:07
2019-01-12T07:49:07
161,452,316
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# { # "createUserPrivateKey": "string", # "createUserPublicKey": "string", # "chainId": "string", # "ledgerId": "string", # "mchId": "string", # "nodeId": "string", # "host": "string" # } class NewConfig: createUserPrivateKey="" createUserPublicKey="" chainId="" customerName="" isTest=...
[ "zhuweiqiang@mail.weisanyun.com" ]
zhuweiqiang@mail.weisanyun.com
d270054e701e93f7c327aae36965b0927fbfa226
d77104b7bf6c1f955710cd432d1c3f3088763180
/Term 3/7/thread-python.py
229a08b7eaa477664b244cc0e03ed1aefa878ba2
[ "MIT" ]
permissive
theseana/apondaone
51d3f6887f029535ec6cb71afcab1a876c3655ba
7cbf3572a86c73220329804fee1f3d03842ae902
refs/heads/main
2023-03-17T22:32:45.546061
2021-03-08T15:34:40
2021-03-08T15:34:40
303,436,958
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from threading import Thread from time import sleep def timer(t): for i in range(t): print(i) sleep(1) thread1 = Thread(target=timer, args=(7, )) thread1.start() thread2 = Thread(target = timer, args = (8, )) thread2.start()
[ "sina.bakhshandeh@icloud.com" ]
sina.bakhshandeh@icloud.com
97b8a131ad39fb2a354fb339762d5111ad22cacc
c054cbdbff1226a02d45611dc8b01fcb3b5dc738
/src/forcity/trasherbot/tools/singleton.py
1ff884d643d44d7b63dc21e1e8bff3f6ef52031f
[]
no_license
yoyonel/forcity_trasherbot
b8ea51c56ed6233b750de9dd5c1fe163ea1e8838
aa12583169d6be70979ecafd43db386457641255
refs/heads/master
2020-04-09T00:15:17.162409
2019-03-17T09:33:04
2019-03-17T09:33:04
159,859,259
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
""" """ class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) return cls._instances[cls]
[ "yoyonel@hotmail.com" ]
yoyonel@hotmail.com
356ea49a5dc388247397132900752001c1b87906
ea26c75f47af6167dd7f5eaa279369f7692862ba
/WPHomepage.py
a64fd96ddfb48112527670f9d96079860897abe2
[]
no_license
annathepiper/wp-test-demo-python-selenium
db3ca1c7a8134a7cd97ec7b9ae1a53561b8cd18d
4d6c8ee15cf31ecf08ab2c1aa9a24162b0e8cdc2
refs/heads/main
2023-08-03T13:50:02.959872
2023-07-20T23:05:54
2023-07-20T23:05:54
169,342,882
2
1
null
2023-07-20T23:05:55
2019-02-06T01:57:59
Python
UTF-8
Python
false
false
2,666
py
import WPMenu import WPSidebar import WPFooter from selenium.webdriver.common.by import By # WPHomepage # Written by Angela Korra'ti # Last updated 7/20/2023 # # This is a helper class to define the layout of the homepage of the test site. class WPHomepage: driver = None wp_lib = None wp_menu = None ...
[ "annathepiper@fastmail.com" ]
annathepiper@fastmail.com
53c4dbc6a51566a842b80dffc77e2a596e987e85
e39d33665780d42679fc05f2129b8f8e2efb56df
/mrsurvey/routes/index.py
2bd84b1b447dde3dc1e5673f68aea53898d907ee
[]
no_license
mreider/fritter
e68e91a95b84373f46ab4e6d2989bdfa83d873ce
ccea1fe4516f2ed638c20b81fa2a341f9b142cc9
refs/heads/master
2021-01-19T15:01:43.566268
2016-09-20T04:25:10
2016-09-20T04:25:10
41,692,778
2
1
null
2016-09-20T04:25:11
2015-08-31T18:24:34
CSS
UTF-8
Python
false
false
411
py
# -*- coding: utf-8 -*- from flask import redirect, url_for, session, current_app from flask.ext.login import current_user def index(): current_app.logger.info('index') if current_user.is_authenticated(): current_app.logger.info('index::aready logged on') return redirect(url_for('home')) ...
[ "alp@steppechange.com" ]
alp@steppechange.com
9d4c70b7a682cb570385aaee98280e73d3fcecc1
13788caac473dc26c715fbb2cc127114c649e64e
/main.py
525e19a1bf63022c15ba43b6d300571e0e6c9066
[]
no_license
trulyepic/quiz_game_true_false
3ee9d80dd5161404036faa1ab20572e80459e780
e49ee06d22049fef1719c6631aef960931b53607
refs/heads/main
2023-08-17T13:50:13.032965
2021-09-21T23:40:33
2021-09-21T23:40:33
409,003,448
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from question_model import Question from data import question_data from quiz_brain import QuizBrain question_bank = [] for question in question_data: new_question = Question(question["question"], question["correct_answer"]) question_bank.append(new_question) quiz = QuizBrain(question_bank) while quiz.still_...
[ "knwy@ymail.com" ]
knwy@ymail.com
e86c28eacc4e52ddf846b6b241ca1f388c78734e
656def2ca5c0bd959b31b98cdbc53fea3420b2dc
/Python3.6-CDNSaveLogsIntoS3/src/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py
0c3fea121a28209f58e851e83686686fc98275cb
[]
no_license
tencentyun/serverless-demo
120271b96f8f960b6125c9d1481a5d8fe56165ae
4c324bb186c460fe78252f0ca5c28132a8bce6c9
refs/heads/master
2023-08-25T17:07:04.959745
2023-08-25T08:10:49
2023-08-25T08:10:49
281,120,881
94
119
null
2023-08-31T06:34:36
2020-07-20T13:15:46
null
UTF-8
Python
false
false
47,323
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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...
[ "franzcao@tencent.com" ]
franzcao@tencent.com
81146b5b73fa9c515a476c8bf531f60c1e4b6b89
a8289cb7273245e7ec1e6079c7f266db4d38c03f
/Anthony_Flask_Tutorials/Flask_GETAPI/run.py
4b5fb6680b2b2838fcc12f2b4cce3d759ec957a0
[]
no_license
palmarytech/Python_Snippet
6acbd572d939bc9d5d765800f35a0204bc044708
41b4ebe15509d166c82edd23b713a1f3bf0458c5
refs/heads/master
2022-10-06T22:51:00.469383
2020-03-13T08:32:11
2020-03-13T08:32:11
272,350,189
1
0
null
2020-06-15T05:30:44
2020-06-15T05:30:44
null
UTF-8
Python
false
false
617
py
from flask import Flask, jsonify, request app = Flask(__name__) languages = [{"name": "Javascript"}, {"name": "Python"}, {"name": "Ruby"}] @app.route("/", methods=["GET"]) def test(): return jsonify({"message": "API works"}) @app.route("/languages", methods=["GET"]) def returnAll(): return jsonify({"languag...
[ "leamon.lee13@gmail.com" ]
leamon.lee13@gmail.com
047d58045a0b73fe0763e441188e6f2626df5387
d7a8cd696be2b8c1e007fdda25144115481e062f
/assets/downloadscripts/maxProfit.py
0a1512c90f8442e36a6648fb5eb072e60e699900
[]
no_license
nielspineda/nielspineda.github.io
d6dfa7446a304579ecb2fd3cc57b0d59f345b0e8
2a8b76bb821af3804cd1bad081bb665e17e0940f
refs/heads/master
2021-06-24T00:55:11.121266
2020-12-02T02:13:47
2020-12-02T02:13:47
159,119,078
0
1
null
null
null
null
UTF-8
Python
false
false
1,622
py
#Pseudo Code # Iterate through all of the stock values within the provided list # Compare the ith index(buying) price and i+1 selling index price # If the selling price is larger, i is the buying index and i+1 is the selling index # Calcualte the current profit and check if it is a new maximum profit; restart this loo...
[ "niels.pineda@gmail.com" ]
niels.pineda@gmail.com
a8b08777614a5973aa360bce3f45762615229b66
6d4c8467f17171fb2fb6b731afd4055c488705b2
/ITSPfrontend/migrations/0014_alter_info_member2name.py
15481c05518b2179f252870e9212f253ff08f470
[]
no_license
pavitra971/2000040097_ITC_ITSPTEAMS
bb9294935a27ec528b0c414d747fdec62aca5fd2
1159d71d687c51bbb2282097da985415ed611f4f
refs/heads/master
2023-05-16T03:34:38.730829
2021-06-11T16:18:15
2021-06-11T16:18:15
376,078,268
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 3.2.2 on 2021-06-09 20:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ITSPfrontend', '0013_auto_20210610_0217'), ] operations = [ migrations.AlterField( model_name='info', name='member2n...
[ "pavitrabarwal@gmail.com" ]
pavitrabarwal@gmail.com
41aa691943fe3026620f4f53e80614041b1091d5
314807ffb26beca108ba13287938dd48d94f24ed
/env/bin/python-config
f28cfddec6e5ab31d667314d06a5dac1fc095d4e
[]
no_license
pacok/PruebaEnr
baa1829eafa5aca345e0690110c07b8b22cd18fc
866409fd982b772fc457062a9c2f7cee7e7e5512
refs/heads/master
2020-03-21T11:43:35.879638
2018-06-24T22:42:51
2018-06-24T22:42:51
138,519,124
0
0
null
null
null
null
UTF-8
Python
false
false
2,375
#!/home/android-0174654321/PycharmProjects/PruebaEnreda/env/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('ab...
[ "pacocamas85@gmail.com" ]
pacocamas85@gmail.com
e348fc5844c1a94bebffeb7cd0e4af713b7aaf01
b1bccfe24d7757973d5f3628e6024f386184f473
/test/test_ffmpeg.py
fe2c10c3063798dd1f7d02ab7e4778011be19aad
[ "MIT" ]
permissive
joshbarrass/spyctrum
3c30787c9436707acdea9a977138f58ea320ff5c
9d1372be95f883a047b94d72da8fb43bdf2d2694
refs/heads/master
2023-07-24T17:21:03.905245
2022-07-12T17:26:21
2022-07-12T17:26:21
243,376,529
0
0
MIT
2023-07-06T22:18:05
2020-02-26T22:09:15
Python
UTF-8
Python
false
false
359
py
import unittest import subprocess import spyctrum.audio.ffmpeg class FFMPEGTests(unittest.TestCase): def test_call_normal(self): p = spyctrum.audio.ffmpeg.call(["-h"]) self.assertTrue(isinstance(p, subprocess.Popen)) def test_call_err(self): with self.assertRaises(TypeError): ...
[ "josh.barrass.work@gmail.com" ]
josh.barrass.work@gmail.com
d321c6f56ad96366cd8858851bcde9c047f05333
53d726df56022e9d0ca41cbbf08c3afaca646949
/ArgoJob.py
e65b301322ac41d0aa7533fdc1452918c613236f
[ "Apache-2.0" ]
permissive
GNUBrinux/pilot
9dfdfc34fcbd85a17892077d8135477b0c4b5194
18d0ef3ea9822df7877fbe39b191f56a6288ada5
refs/heads/master
2020-03-19T04:11:41.418349
2020-02-19T10:56:39
2020-02-19T10:56:39
135,804,074
0
0
Apache-2.0
2020-02-18T14:28:00
2018-06-02T09:18:25
Python
UTF-8
Python
false
false
6,142
py
import sys from pUtil import serialize, deserialize, convert_unicode_string, tolog from BalsamJob import BalsamJob class ArgoJob: def __init__(self, preprocess = None, preprocess_args = None, postprocess = None,...
[ "Paul.Nilsson@cern.ch" ]
Paul.Nilsson@cern.ch
8d05a3c6165dce703c02d1d486df69cf665b60b9
f27a6ca8086211cad7a89d1e42e544972fdbe019
/day8/jumps.py
d027b1fc2e071ddd3cdcac68a059b9ad7bb05c03
[]
no_license
SeyelentEco/AdventOfCode2017
dddb0d42168b8401fb5cd56db5d96e901b30d103
b92002a8669b1e1868760cc9a4185b0056e706c3
refs/heads/master
2021-09-03T02:09:32.806229
2018-01-04T19:52:41
2018-01-04T19:52:41
112,960,717
0
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
import sys def valueCheck(value, test, testvalue): value = int(value) testvalue = int(testvalue) if test == "==": return value == testvalue elif test == ">": return value > testvalue elif test == ">=": return value >= testvalue elif test == "<": return value < t...
[ "alex.petrescu@gmail.com" ]
alex.petrescu@gmail.com
02d656562e12bbc17ad7aa50e609d1e8dee95fa7
9398b364c83701b06d602de06b7c3947eab60b3e
/tools.py
df7408013a4c4d585f851da7a5fedbcf01a08f50
[]
no_license
lkronecker13/search_prediction
2eb05830d1d635afd49470e3d37aa701ccaed472
69767c65a62d74c609f4238e25f702dd3ea5d109
refs/heads/master
2020-09-09T03:57:30.781460
2019-11-15T14:57:46
2019-11-15T14:57:46
221,341,984
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
import numpy as np from keras.models import model_from_json import json def decode_vectors(binary_matrix): tokens = [] for vect in binary_matrix: tokens.append(np.argmax(vect)+1) return tokens; def decode_sequence(sequence, city_list): citys = [] for token in sequence: citys.a...
[ "lk13.dev@hotmail.com" ]
lk13.dev@hotmail.com
b626a7c0982b949955dc9dbd1ae3cfd710704fd3
a02c3d6c080d6f739fe5bbf32a7fd4b8a72860c5
/engine.py
1acec8955e99582d301065e4a02df42776c9e352
[]
no_license
Hongwing/SearchSources
eaf32fe0df709c85089037cf112d3527733cf06d
8d57ac83d4a53c5dcf03a779f80efd00e5379d5e
refs/heads/master
2021-01-20T18:07:49.008640
2016-08-12T21:16:22
2016-08-12T21:16:22
65,554,346
1
0
null
null
null
null
UTF-8
Python
false
false
4,186
py
# -*- coding:utf-8 -*- __author__ = "Hongwing" """ 百度云资源搜索 """ from HTMLParser import HTMLParser from bs4 import BeautifulSoup #import bs4.builder.htmlparser #import bs4.builder._lxml #import bs4.builder._html5lib import xml import requests import sys import urllib import urllib2 import cookielib reload(sys) sys.s...
[ "1045243700@qq.com" ]
1045243700@qq.com
48ca7b3386e25d5892f895f88a931a8395c1e7be
8b6e06b97426d9e13ae01f88698ecf37228020f6
/website_multi/controllers/__init__.py
4246148e98f5b0240dcc0fd8240d3bc7044b76e0
[]
no_license
AULODE/somafish_2019
9a6caf3d6a74ed6bc0b26c981863380ebd3dbd6b
5a235827896e6d7bff420f85228d7609715a2efb
refs/heads/master
2020-04-15T02:46:59.495816
2019-09-25T07:14:30
2019-09-25T07:14:30
164,324,496
1
2
null
null
null
null
UTF-8
Python
false
false
66
py
# -*- coding: utf-8 -*- from . import backend from . import main
[ "kirankantesariya@gmail.com" ]
kirankantesariya@gmail.com
58c3c301b8c5ffe6496f032137b6c97b8eabbefb
19a32440205b2caeec67c73c10d917b5fb30a86a
/isi_sdk/models/settings_notification_create_params.py
55f76156fd70615ae7d5ef6ff537e1aba68c0417
[ "Apache-2.0", "MIT" ]
permissive
marrotte/isilon_sdk_python
480e84312f5924a506aeb09c9c7cae79a2b9b7f4
91039da803ae37ed4abf8d2a3f59c333f3ef1866
refs/heads/master
2020-03-23T07:31:40.376316
2016-06-07T23:44:31
2016-06-07T23:44:31
141,277,076
1
0
MIT
2018-07-17T11:02:08
2018-07-17T11:02:08
null
UTF-8
Python
false
false
9,762
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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 applica...
[ "Alex.Pecoraro@isilon.com" ]
Alex.Pecoraro@isilon.com
6433f2faa76aafcba1ff59f7eaa303a9c32c1d3b
d3984642936aaf53dba08e11d659dd157c00ae7d
/mnist.py
66b24ca775eaaf6114291cca6aabc14ee75076f9
[]
no_license
greeneley/support-vector-machine
46d97848c08df7c83a8863031c45de8e5494130d
669512f82880023fd87404a9d4debf1e0b4a0699
refs/heads/master
2020-05-23T01:17:32.966070
2019-05-14T09:13:25
2019-05-14T09:13:25
186,586,603
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from mnist import MNIST # import numpy as np # from sklearn import svm, metrics # mndata = MNIST('./mnist') # train_images, train_labels = mndata.load_training() # test_images, test_labels = mndata.load_testing() # 1. Feature scaling ## Viec chuan hoa du lieu 1 buoc quan trong ## Vi data co the den tu nhieu nguon ...
[ "thanh.dinh@insa-cvl.fr" ]
thanh.dinh@insa-cvl.fr
8a17e6e55f000b5952f59c2cf9e3b2a993ab1c7c
7b743d0e3fd46074af123b5c0faf75bb3f47cc91
/src/reset_manager.py
0969fa072fbc3d0989a064b6bbf4bf49a9694198
[]
no_license
manuel2258/lighthub_server
f9a798e825a95738a025b9f128f4f8b06953163c
738cc81971daf2b7973127ea04d03e02f08fa93a
refs/heads/master
2020-05-06T13:29:53.992231
2020-04-13T18:14:46
2020-04-13T18:14:46
180,140,233
0
0
null
null
null
null
UTF-8
Python
false
false
2,450
py
import machine class ResetManager: """ Handles restarting and config reseting """ def __init__(self, led_manager, TTR, reset_button): self._led_manager = led_manager self._hard_reset = False self._erase_reset = False self._reset_button = reset_button self._T...
[ "manuel2258@protonmail.com" ]
manuel2258@protonmail.com
a23ac2653695ae587095465de6f64ed73fa825c9
acba5848490fe239322e6b983a1da11deed0bf76
/allencahn.py
198baccd460221582033fc4c5ef7b354ebc5d83b
[]
no_license
pqwang1026/DeepSolver
716481888c7b37487690cd62c959a9850602577f
1feb31b2646d06ca22f99313e7a524d1773d4b82
refs/heads/master
2021-04-27T00:22:45.643137
2018-03-13T18:22:23
2018-03-13T18:22:23
123,802,342
0
0
null
null
null
null
UTF-8
Python
false
false
8,599
py
import time import math import tensorflow as tf import numpy as np from tensorflow.python.training.moving_averages \ import assign_moving_average from scipy.stats import multivariate_normal as normal from tensorflow.python.ops import control_flow_ops from tensorflow import random_normal_initializer as norm_init fro...
[ "pqwang1026@gmail.com" ]
pqwang1026@gmail.com
cb9b8e2e3a873a141e5e1ba4040bf857eba6b94f
a50e4fa86bdf787fb8a2418f5f9e410fabe0a132
/2015-11-19_hack.dat.kiwi/ste/diff.py
d814f4f1b34572db21840d362d554e8d561a887e
[]
no_license
p2004a/CTF
ffaacc0e6426ace4f5fb6fef9dfc16e73f56fc3e
a5f501db34b701208cb1fcffcc912b05386d5f8f
refs/heads/master
2021-01-10T06:01:32.999781
2015-11-23T21:19:56
2015-11-23T21:19:56
46,625,711
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
#!/usr/bin/python import png import sys def read_png(filename): r = png.Reader(open(filename)) f = r.read() return list(f[2]) def diff(a, b): for col in range(len(a[0])): for row in range(len(a)): if a[row][col] != b[row][col]: yield row, col, a[row][col], b[row][...
[ "marekrusinowski@gmail.com" ]
marekrusinowski@gmail.com
4a946b0a333c4cbce564df44ebcf1da0acea70fd
33debc006b1d364ba38fd0ab4ebc2da871bc3c96
/05/day5_part2.py
52ab81ece47441a88a63704d013bf8db4f303ca1
[]
no_license
Katari1/2016-Advent-of-Code
73340f1424f41a5a3f18540a2733f6f3238c87e9
4506de13690b750476480071c20c8ab9c07b49a3
refs/heads/master
2021-01-12T08:24:13.538022
2016-12-28T19:47:59
2016-12-28T19:47:59
76,564,955
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
import md5 num = 0 code=[None] * 8 while None in code: input="ffykfhsq" input = input + str(num) md = md5.new() md.update(input) a = md.hexdigest() if a[:5] == '00000': try: position = int(a[5]) except ValueError: position = int(100) number = a[6]...
[ "vnagrani@pindropsecurity.com" ]
vnagrani@pindropsecurity.com
b1e3d907ddb1fd342641d2f210bbee3add3a54dc
bf42df9247ada840a44153eeea94a22cb823dc2b
/classifiers/random_forest_classifier.py
4e90f713b49459445d66173bee184ef57f2606c7
[]
no_license
spenc53/news-classifier
1cd76c5a6c8cc687f7eb03882cea8f1e9195d93a
59ae616c3d638fef86c92b41d960561b964bef5b
refs/heads/master
2021-04-27T08:58:28.007410
2018-04-16T21:04:26
2018-04-16T21:04:26
122,503,795
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
import string import numpy as np from nltk.corpus import stopwords from sklearn.ensemble import RandomForestClassifier from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.metrics import accuracy_score from sklearn.model_selection import train_test_split, RandomizedSearchCV from sklearn.pipeline im...
[ "victor.mafralazaro@gmail.com" ]
victor.mafralazaro@gmail.com
943aa56c2b2d28ef4ffcd3f9477b4315ff03045d
493b79bc23a6712f216305cceb7244fd0e977d2a
/app/printer/__init__.py
61ecb64b6fed7178e89adefb684d352c1534b29b
[]
no_license
oyjs1989/printbarcode
ba6296e47416368b113f4851ad45835dcd018418
686b44e4a8e6cf71f8cfbf5c969c5821de6e8762
refs/heads/master
2020-08-02T06:57:54.843811
2020-02-19T02:20:41
2020-02-19T02:20:41
211,268,978
1
0
null
null
null
null
UTF-8
Python
false
false
2,294
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' # File Name: __init__.py # Author : lumi # date: 2019/10/24 # Description : ''' # - Custom package from io import BytesIO from decimal import * import win32print import win32ui from PIL import Image, ImageWin # Inches to centimeters INC_TO_C...
[ "junsong.ouyang@aqara.com" ]
junsong.ouyang@aqara.com
f9526ad8249a2499dc161e3d16e50849aab33996
43e4fbd9a229042f3a291945dbf8b37bf36f43d2
/util/logger.py
f46f48f511e14f3eee4553cac29cd23a58edcd2d
[ "Apache-2.0" ]
permissive
CV-IP/PCMSN
7816ca65b09ea9d8b8364c2ec96ab0adffab94df
c2467dc84a4fbea19161c31c70b72162bee1047f
refs/heads/main
2023-06-11T13:14:35.515712
2021-06-24T19:32:34
2021-06-24T19:32:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,857
py
import torch from tensorboardX import SummaryWriter import os class AverageMeter(object): """Computes and stores the average and current value""" def __init__(self): self.val = 0 self.avg = 0 self.sum = 0 self.count = 0 def reset(self): self.val = 0 self.a...
[ "37863639+haowang1992@users.noreply.github.com" ]
37863639+haowang1992@users.noreply.github.com
6725c438f7fb43fb658062a50da5a2123518ab55
fb51267076d91cf5a7a38bbec096275cab0aebb7
/20/Python/slepice1.py
046e80b94e5cd47f4d40ff4fef010e2857c18254
[]
no_license
vojtechjelinek/AoC-2016
efc6a98caa42d5abe7f1103aa1252657aa4f2241
671cf238c3bc681b826ed616381b1d4d96a79743
refs/heads/master
2021-01-19T09:18:55.210233
2017-03-17T15:03:13
2017-03-17T15:03:13
75,317,599
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
with open("slepice.txt", "r") as f: ranges = [tuple(map(int, range_.split("-"))) for range_ in f.read().splitlines()] ranges = sorted(ranges, key=lambda x: x[0]) i = 0 prev_min = prev_max = 0 merged_ranges = [] for min_, max_ in ranges: if min_ - 1 > prev_max: merged_ranges.append((prev_min, prev_m...
[ "vojtin.j@gmail.com" ]
vojtin.j@gmail.com
63e1bc93378be0e0aac8defc2781e4ed3647409e
f2c84f175a0cd8e9fa92b97090e9bc62072635bc
/wadors2jpg.py
149cfcd8ba5560e3486f9ed33677ed9b47993a8d
[ "MIT" ]
permissive
ibh-daai/dicom-dump-utils
d1e772c707a5e9101199a7f88e6da2d920dccf0b
2d927f94a48701b79c2851a2b0f6a14b257480e5
refs/heads/main
2023-07-10T23:18:50.869660
2021-07-30T13:50:33
2021-07-30T13:50:33
368,543,088
0
0
null
null
null
null
UTF-8
Python
false
false
2,685
py
# Sometimes your WADO-RS implementation may NOT support returning of JPEG renders. This script fills the gap by download the DICOM instance and exporting it to JPEG on local disk. # Search for "TODO" to find spots you need to fill out # Loops though a list of studies from a PostgreSQL table import sys, os, datetime, p...
[ "noreply@github.com" ]
ibh-daai.noreply@github.com
526ffa4166771100f9cba679f9d558d346d9ee5a
ed678510c8042f207d9b6bf9b1863b263345ad02
/handlers/users/no_referral_handler.py
9d9279fcb9486f61fd005c04d0d07adab772e53d
[]
no_license
shevasa/udemy_final_task
e44e13f9c8d3da80ed5f1393b1224445fdb6cbba
ffd72c1145b71e3b9f77ac7abe17233cc60b9066
refs/heads/master
2023-06-03T17:24:41.248130
2021-07-01T09:18:44
2021-07-01T09:18:44
378,874,792
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from aiogram import types from aiogram.dispatcher import FSMContext from keyboards.inline import no_ref_callback from loader import dp @dp.callback_query_handler(no_ref_callback.filter(action="enter_invitation_code")) async def ask_for_invitation_code(call: types.CallbackQuery, state: FSMContext): await call.mes...
[ "shevasa@icloud.com" ]
shevasa@icloud.com
8d32e4753d853081c404b49ffb45def58b0d3ad4
7f8db6b4025cfcfc6fe5bd141d0d8a6bfd2903e2
/Sat_Practice_4.py
adfd9f197b93c7ee1ce65a8154b451f208263f6e
[]
no_license
alinefutamata/Python_Beginners
6f4749e258aa72828207482242942402cfdaa12a
80785e93910dc1f337c368f6cc930c1a618f9be9
refs/heads/master
2022-05-27T07:36:56.336809
2020-04-30T10:09:47
2020-04-30T10:09:47
256,967,204
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# Write a Python program to construct the following pattern, using a nested for loop. for x in range(6): stars = " *" for y in range(x): stars += "*" print(stars) for x in range(6): stars = " *" for y in range(6-x): stars += "*" print(stars)
[ "aline.f.lorenzon@gmail.com" ]
aline.f.lorenzon@gmail.com
58d84ca7abfbb0f988c3a5b8fe8ca9e209f916b0
70ec588382af4b98f402a956422feec7824c78a8
/pathFinder.py
3dbfb43fd1ee58c77e21893a7fb01e034502f9bc
[]
no_license
paulojunqueira/Pathfinder-Project
ec4e0d33b45a4e639f56a294f39f748fb77a9cf7
b73885d2fc405ba46f860e13375f4a1499430e9e
refs/heads/master
2020-12-20T00:19:20.841063
2020-05-10T19:24:51
2020-05-10T19:24:51
235,897,103
0
0
null
null
null
null
UTF-8
Python
false
false
5,935
py
# Modules used import sys import numpy as np import random import matplotlib.pyplot as plt import matplotlib.cm as cm #A temporary fix for warnings when saving images plt.rcParams.update({'figure.max_open_warning': 0}) class PathFinderClass: """ A Pathfinder Algorithm """ def __init__(self,s...
[ "noreply@github.com" ]
paulojunqueira.noreply@github.com
67be24c5ce3af514b1f373a26f814938b28cef87
8a15efc8b6de9cf966c55c2209425a587b1b6e08
/blog/myblog/admin.py
7f213b391b3d9645b60f4075aedbffb39cc7b5c3
[]
no_license
Victorchi/blog-
7d011ea9a3efbf83dc3a9008d2d3d7368b1971dc
ab169e68a4d89e127cecf21951aba170c1bf8e8b
refs/heads/master
2020-12-30T14:19:33.515289
2017-05-15T07:25:04
2017-05-15T07:25:04
91,306,596
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
from django.contrib import admin from .models import * # Register your models here. class ArticleAdmin(admin.ModelAdmin): list_display = ('title', 'desc', 'click_count',) list_display_links = ('title', 'desc') list_editable = ('click_count',) fieldsets = ( (None, { 'fields': ('tit...
[ "qwe312231.@163.com" ]
qwe312231.@163.com
74107df377adab78ed6ad99a7cdafb3fe88dfef6
a5016c90fb13caaf8ce4e2c48dc842017f195822
/src/0008_StringToInteger.py
c800458b3678b28a95706de4e3e5ff1d26c81c80
[]
no_license
lixinchn/LeetCode
c21efc2d715da637374871d36d3d183ea08b9c31
4060d525f007c10a3a55d874f7953a0a1d98c8fd
refs/heads/master
2020-04-03T10:27:16.068777
2017-01-05T02:31:28
2017-01-05T02:31:28
50,000,305
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
class Solution(object): def myAtoi(self, str): """ :type str: str :rtype: int """ ret_int = 0 negative = False MAX_INT = 2147483647 MIN_INT = 2147483648 i = 0 for i in range(len(str)): if str[i] == ' ' or str[i] == '\t': ...
[ "lixinit@gmail.com" ]
lixinit@gmail.com
09c1cdae1147a0e3f0d25422215290dc25c90eff
741b3f23abeecfb09e2a091b6fb30d81aedd0564
/app/models/permission.py
cd364d1b3f7fcc22196da8d052c9e4bc93cab425
[]
no_license
Qalifah/clepius-server
56c484f7247cb9524827a70602bb29e1e82a492d
0cacc8476ee293e701f0398405e6d0ec2d25ca13
refs/heads/master
2021-05-20T08:21:47.917779
2020-04-01T13:54:56
2020-04-01T13:54:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from mongoengine.fields import StringField from app import db class Permission(db.Document): name = StringField(unique=True, required=True) description = StringField(max_length=150)
[ "akiolisa@gmail.com" ]
akiolisa@gmail.com
43700ee9faa10d698992479a883a42c4b0e9dc29
5feba2c2297fb755061b8e80550650e3ca55dd50
/src/main.py
801f7d5a5bcb7e264a4d5223e8b93643c0f91300
[]
no_license
xiwhe/quant
d245963ff4e5a2f915b583cb8133c0a0ef1109ca
417502bee491e9284c14deb3f406388f61dac915
refs/heads/master
2021-01-19T17:05:02.624239
2017-08-22T12:17:28
2017-08-22T12:17:28
101,045,698
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
#!/bin/python # -*- coding:utf-8 -*- import time import price as prc import tushare as ts import storage as sv all_stocks = ts.get_day_all() print("get data done") sv.saveData(all_stocks) print(all_stocks) # all_stocks=pd.read_json(sv.readData(), convert_axes=False, convert_dates=False) today = time.strftime('%Y-%m-...
[ "hxw1000@hotmail.com" ]
hxw1000@hotmail.com
2f9eb9dbb5bd1d0fa2bd4fa9189d8c1ce3df8a45
f920ae1517da25ddb7049e7b747cd60fe5972968
/gmail_task_send.py
4ddf8e7fbac8c6e97b8a9e710ed33c47f717c2bf
[]
no_license
Gennadiii/gmail_task_send
99d19551e7e4b7754030d919d703b144f2f32955
87727318af874a07161f4742d86dea1e05dd720c
refs/heads/master
2016-09-06T18:24:22.466728
2015-07-20T16:07:34
2015-07-20T16:07:34
38,819,464
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from datetime import datetime weekday = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'] year = datetime.now().year month = datetime.now().month day = datetime.now().day+1 now = datetime.now() my_password = '1890_suMmer_dc1b' if da...
[ "g.mishchevskii@gmail.com" ]
g.mishchevskii@gmail.com
fcd6b9c8ef82277a97f5e3dabe98534d83711be4
53406879795222f757bf8611fa07c2120b6cbc01
/project/Utils.py
646c58059c32780c5acc9826afcca5bcd5c6c9ac
[]
no_license
choudharyhimanshu/rating-prediction-and-auto-summarization
4dfaa81a0c8ebbb89cde5e0fbdd754f5d4f38867
cd64f253d21e4205ff188a1b2420cca5d98db690
refs/heads/master
2021-01-22T06:23:18.932415
2016-08-31T15:15:23
2016-08-31T15:15:23
81,756,585
0
0
null
2018-10-14T17:15:27
2017-02-12T20:57:20
Python
UTF-8
Python
false
false
1,226
py
# @author : Himanshu Choudhary # @home : http://www.himanshuchoudhary.com # @git : https://bitbucket.org/himanshuchoudhary/ import numpy as np from pandas import read_csv import os.path import project # Globals LOCAL_DIR = 'local/' FILE_INP = open(LOCAL_DIR+'inp.txt','r') FILE_OUT = open(LOCAL_DIR+'out.txt','w') # ...
[ "himanshuchoudhary@live.com" ]
himanshuchoudhary@live.com
490e341e942d8a60011545ea7657bda519f70f4e
ac32bac45df77083f4ef3115e747038a6753936c
/methods/stack/custom/adapters/layer_custom.py
e3220b5ba16f66f4e881fd6331e8a0efa9f0f191
[]
no_license
Yujin-Yujin/rexpert
13e1d5c4ca55664dd9fbb9a765ea5157a2e0893f
ed8628dc053194fee40e593b1cc5ec45a26c8073
refs/heads/main
2023-06-22T05:58:42.269923
2021-07-23T06:35:43
2021-07-23T06:35:43
373,423,887
0
0
null
null
null
null
UTF-8
Python
false
false
18,825
py
from abc import ABC, abstractmethod from typing import List, Mapping, Union import torch from torch import nn from transformers.adapters.composition import AdapterCompositionBlock, Fuse, Parallel, Split, Stack, parse_composition from custom.adapters.modeling_custom import Adapter, BertFusion class AdapterLayerBaseM...
[ "yujin000731@yonsei.ac.kr" ]
yujin000731@yonsei.ac.kr
0016a8bd338aee16fc4a06d71d645e56d33a1cda
c5d21fba0c017f7050487ca2e370ce6bdc05d341
/meistery_trial_assignment/api/users/test_views.py
5f8fb71a53bbc8621292e1de122531814803ce09
[]
no_license
patpatpatpatpat/meistery_test_v2
b30de775826f0219ce6fdc2035f2398a580341bd
a13dcf8ef32654b9e6b6fc877ae0567a28aa64f1
refs/heads/main
2023-04-24T15:44:00.861140
2021-04-29T02:08:48
2021-04-29T02:08:48
358,596,627
0
0
null
null
null
null
UTF-8
Python
false
false
7,236
py
import json import pytest from rest_framework import status from rest_framework.authtoken.models import Token from users.models import User from .factories import CityFactory, CountryFactory, UserFactory pytestmark = pytest.mark.django_db class TestUserAPI: endpoint = "/api/v1/users/" def test_retrieve(s...
[ "pat.keeps.looking.up@gmail.com" ]
pat.keeps.looking.up@gmail.com
6ec27707f06f70599fd009e6b1515054ddf675be
029948b3fd0e41d80d66c84d808abff4fcb24ac8
/dnac_api_client/models/response.py
21c419cccc99217f50f5b75be892b1baee6f818a
[]
no_license
yijxiang/dnac-api-client
842d1da9e156820942656b8f34342d52c96d3c37
256d016e2df8fc1b3fdad6e28f441c6005b43b07
refs/heads/master
2021-09-25T21:10:09.502447
2018-10-25T14:39:57
2018-10-25T14:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,249
py
# coding: utf-8 """ Cisco DNA Center Platform v. 1.2.x (EFT) REST API (EFT) # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class Response(object): """NOTE: This class is auto generated by OpenAPI Gen...
[ "cunningr@cisco.com" ]
cunningr@cisco.com
787e223f49a9ab2eeab5f45a7afcebfb8907c122
26e468e4f99ffc0ccd6da43c1ae9f363ec3010e6
/msr.py
32c9ecdd0dc265971335ef45b9e1bfc43fb7fe41
[]
no_license
mtoqeerpk/rshalib
d86d36216fe9a4008a710af6c0e118c34c73dab4
9ef631ca3690c158693445a52d59c2583f8bd67e
refs/heads/master
2023-01-28T00:25:14.992405
2020-12-10T09:16:41
2020-12-10T09:16:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
""" Magnitude scaling relations """ from __future__ import absolute_import, division, print_function, unicode_literals try: ## Python 2 basestring except: ## Python 3 basestring = str __all__ = ['get_oq_msr'] def get_oq_msr(msr_or_name): """ Get OpenQuake magnitude scaling relationship ...
[ "kris.vanneste@oma.be" ]
kris.vanneste@oma.be
a88d47ffc5f7e142e209bf07ca880931f4766c8e
a78cd4427306789be2ea57a4811cea7d4764847c
/Лаба 2/ПР2/ПР2/test.py
b0bc88010ec43f5839213dec847c0bc2c10eebdc
[]
no_license
uncledeni/Instrumental-software-for-the-development-and-design-of-information-systems-1
1ad2d8674cd59d393d91654ed4c3196faef609ce
cf2ed78b853ef7c7012abe3b339ea20ee64d94d5
refs/heads/main
2023-06-03T18:15:13.567731
2021-06-22T17:39:15
2021-06-22T17:39:15
379,347,977
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
name = 'uncledeni@mail.ru' print(name.split('@')[1])
[ "noreply@github.com" ]
uncledeni.noreply@github.com
d9f48228799ce9b0f5c02b629b93c1e903f4fe00
80c104a48095e7ee9d89d5e9df5fe527bf7d7856
/yahoo_finance/yahoo.py
fdc2b02ca8d6e7ba80157acf687c643b0b43ad96
[]
no_license
shrenik0123/Paper-Trading-Alpaca
9f1d821a83fd4820522280e880dcd21170449ede
36b308a84a9bccf5985a4054b4a50258a16b3871
refs/heads/main
2023-04-04T21:15:59.166243
2021-04-20T20:31:46
2021-04-20T20:31:46
351,866,778
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
import yfinance as yf import numpy as np import pandas as pd aapl = yf.Ticker("AAPL") hist = aapl.history(period="2y") path = "./aapl.csv" hist.to_csv(path)
[ "46769965+shrenik0123@users.noreply.github.com" ]
46769965+shrenik0123@users.noreply.github.com
3864e99d325479ebd91bb3d7904dc81efcdbfbe3
7e582bc00d46af49b0b5ad9cbb59fc57b65fe5e1
/src/som.py
ddce051aae7d03a0c1f0015f569a378f04d27f07
[ "MIT" ]
permissive
xdr940/som-mTSP
bd6e05a84359a14374c36d8e645b026837dfc3b9
7a1985818649a64f608566da3fd3b1af63c75d06
refs/heads/master
2022-12-11T08:45:47.572169
2020-08-28T11:20:50
2020-08-28T11:20:50
289,940,544
9
0
null
null
null
null
UTF-8
Python
false
false
4,113
py
import numpy as np #iner from neuron import save_neuron_chains, get_neighborhood, rebuild_cities,init_neurons,get_routes,normalize from distance import select_closest_gpid, routes_distances import pandas as pd from path import Path from tqdm import tqdm import json import matplotlib.pyplot as plt def SOM(args): "...
[ "xdr940@126.com" ]
xdr940@126.com
fb076ea5e8af9fd67165eb9e6f35034d069f2050
a53e0a56740d9c65dfd635be0b77f8fdd2712797
/main.py
29bfac6ec8732ad4b16a15a15ad66cf93904bf8f
[ "MIT" ]
permissive
abhishekarora12/Calci
4436ff77e230a0d4e8f8fce0949d9f657f071f76
d407fba96fbe748bc3401903efd30ef89335796f
refs/heads/master
2021-01-22T19:17:56.970694
2015-10-28T16:40:03
2015-10-28T16:40:03
45,125,431
0
0
null
2015-10-28T16:16:39
2015-10-28T16:16:39
null
UTF-8
Python
false
false
4,747
py
#!/usr/bin/env python3 import argparse import math "Performs addition" def add(a,b): val = a+b return val "Performs subtraction" def sub(a,b): val = a-b return val "Performs division" def div(a,b): val = a/b return val "Performs multiplication" def multi(a,b): val = a*b return val ...
[ "trishnaguha17@gmail.com" ]
trishnaguha17@gmail.com
fb6611af1e3c41bc28f7d5a20750174d22bc20f9
7f85ccc42aebc648877c74b1dd7a89687e54d037
/pyschism/param/schout.py
6b8bd3db059bb46aa1f96b9866757d78d8b27900
[ "Apache-2.0" ]
permissive
pmav99/pyschism
814aef9842302a96f3ac5a389ec9711fa4e8ca84
b533d29b881da6cd4f408e91a4749f86451c042a
refs/heads/main
2023-03-31T05:31:57.507829
2021-04-08T20:11:52
2021-04-08T20:15:34
356,035,592
0
0
Apache-2.0
2021-04-08T20:09:17
2021-04-08T20:09:16
null
UTF-8
Python
false
false
7,201
py
from datetime import timedelta import logging from typing import Union from pyschism.enums import ( IofHydroVariables, IofDvdVariables, IofWwmVariables, IofGenVariables, IofAgeVariables, IofSedVariables, IofEcoVariables, IofIcmVariables, IofCosVariables, IofFibVariables, Iof...
[ "jreniel@gmail.com" ]
jreniel@gmail.com
34e474332837d41d7be8e3b1b8180a049fb43e1b
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_chart_layout02.py
22e9a8e8599e84e984544c6755d61220a43f21fa
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
1,659
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
fb63eb86ba45b49c48e19ce90953432a339665b5
068958a5207e898e7a6e4da25d8519f5388da8ad
/cowin.py
ab707dd8d002e37f9d36054c4199c004b10befbb
[]
no_license
abhinandnair/python-lab
fc6779c93f7b62c5a685dc51703db10e4d43e4b9
ec6d793996c69d1db64a3b2d8c6d3e7a6602979c
refs/heads/main
2023-07-06T05:42:30.223499
2021-08-12T12:23:24
2021-08-12T12:23:24
395,294,302
0
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
import requests import smtplib import datetime d=datetime.datetime.today().strftime('%d-%m-%Y') # 18 or 45 age=18 # No of people tot=3 # Type of vaccination : COVISHIELD, COVAXIN ... vacc="COVISHIELD"...
[ "noreply@github.com" ]
abhinandnair.noreply@github.com
f19b8be273679764a4d21955b4e6283bcba5d52c
41e3065d6f29449251f1cc79cb340fa273ac5c61
/0x11-python-network_1/4-hbtn_status.py
9760dd4785428c240c719c71c1c380eb25f80b8c
[]
no_license
BD20171998/holbertonschool-higher_level_programming
856fa3a7fcfafd3e17ebd7dd4cf9d3e5a609fd1f
bfa78d25bd4527e06cf1bf54cbc00722449d9a30
refs/heads/master
2021-07-16T01:58:42.911959
2020-11-15T07:18:19
2020-11-15T07:18:19
226,976,859
0
1
null
null
null
null
UTF-8
Python
false
false
262
py
#!/usr/bin/python3 import requests if __name__ == "__main__": html = requests.get('https://intranet.hbtn.io/status') print("Body response:") print("{}{}".format("\t- type: ", type(html.text))) print("{}{}".format("\t- content: ", html.text))
[ "robert.deprizio@gmail.com" ]
robert.deprizio@gmail.com
408491e006322a62395f8c6b6a009ef13abe8b3c
c566ceb33bfea62f4be98dd2f9536deaee46ac3e
/api/utils/custom_exception.py
27388bf098fb1fd47d3af3feec46065ce054813d
[]
no_license
Saviodiow95/wallet_test
1ad0e8f1699803ecca0ebf8c6a96b10efea980a3
4c2bf80332458b39197de134e914af669bbcc355
refs/heads/main
2023-07-04T02:25:11.321675
2021-08-02T12:28:40
2021-08-02T12:28:40
390,503,421
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from rest_framework.exceptions import APIException class InsufficientFundsException(APIException): """ Exceção criada para retornar uma mensagem quando não houver saldo de um ativo para realizar o resgate """ status_code = 304 default_detail = 'Não é possível realizar o Resgate, Saldo Insuficiente...
[ "saviodiowflamengo@gmail.com" ]
saviodiowflamengo@gmail.com
624c22e80e4ed1668a42b1ecf7fa029acd5eab74
75c145dbd2bcb2ebe8cb4653a9f8dcb02d56e8d6
/gua/__init__.py
e89ae48f356090005d3c5aee4e14c1740dce14a6
[]
no_license
cbourjau/gua
547297c0b2d0b46db83fcb22b8ffa30f1668c61c
a35a06ff1e04302181671c2fad96574d8f557bed
refs/heads/master
2021-03-24T09:53:39.455009
2018-07-11T12:56:11
2018-07-11T12:56:11
113,069,541
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
from gua import Gua
[ "christian.bourjau@cern.ch" ]
christian.bourjau@cern.ch
c1bd5b7a534c9917052a84eb4d197464a75c398f
10f6a39aa3ba7d61ebaec91cfa203bc03ed77cb0
/middleware/stemmaweb_middleware/resources/base/__init__.py
cdf493d3c995a25cda064a83a35f067173f9f3e2
[]
no_license
tla/stemmaweb
f32278ab11947dd0f0b0848fdfa7c58489d5738b
0870a2ea6c8ff49dc6c20cbbbf7f757077a199af
refs/heads/d3bootstrap
2023-08-06T09:19:56.681022
2023-06-28T10:45:49
2023-06-28T10:45:49
5,770,246
13
11
null
2023-07-15T00:54:33
2012-09-11T20:08:31
JavaScript
UTF-8
Python
false
false
149
py
from .api_client import APIClient from .passthrough_handler import handle_passthrough_request __all__ = ["APIClient", "handle_passthrough_request"]
[ "dev.petergy@gmail.com" ]
dev.petergy@gmail.com
e2f497f409c43fe801c57be417ded2092b25d78d
b3e393d16b25d55a29df50d780a1a68ef25f5bd0
/ETL/code/4__ScrapeDrugbank.py
ee9091848b999908d81acb2ffd23ea9ba531fd29
[]
no_license
bjmcnamee/Expert_System_Content_ETL
c52c977d6906dbb36e6174c2236d5654b9dded0d
43be2988550763dcdf446f1ca57de720cbe70da3
refs/heads/main
2023-08-16T20:58:05.710892
2021-09-14T15:31:56
2021-09-14T15:31:56
404,698,284
0
0
null
null
null
null
UTF-8
Python
false
false
5,377
py
""" Scrape all drug data for each drug from Drugbank website Use cfscrape to avoid Drugbank using Cloudshield to block better known scraping modules Use random time intervals to simulate human calls Scrape all data as one blob until requirements better defined import time, random, requests time.sleep(random.randint(1...
[ "69517134+bjmcnamee@users.noreply.github.com" ]
69517134+bjmcnamee@users.noreply.github.com
9d8ce7ca5128ff211c1c875e8ac65e2981f17bf1
07110a2c07a034e9b93f5159a9844adedbbf436c
/GoogleSheetsAPI/quickstart.py
48ca32ce7fcace7fe8e7757f7e41c169d21f2ea0
[]
no_license
karenwang38/Python
59cf50e047befa1947d8aa918fb89bdfee7c1b8b
4ebc9f34d0089aa45ae3814b683a62744ae6f2ca
refs/heads/master
2020-04-06T23:01:55.583143
2020-02-23T07:32:26
2020-02-23T07:32:26
157,855,522
0
0
null
null
null
null
UTF-8
Python
false
false
3,492
py
from __future__ import print_function import httplib2 import os from apiclient import discovery from oauth2client import client from oauth2client import tools from oauth2client.file import Storage try: import argparse flags = argparse.ArgumentParser(parents=[tools.argparser]).parse_args() except ImportError: ...
[ "karen.wang38@gmail.com" ]
karen.wang38@gmail.com
afbde06d9758d8f6cb99f0c165487171b932e4a9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03399/s459988463.py
c485ed9fa7f3a1cbfbac8d9420a062d84304b2e3
[]
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
181
py
# 数値の取得 A = int(input()) B = int(input()) C = int(input()) D = int(input()) # 料金の最安値を出力 train = min(A,B) bus = min(C,D) tbsum = train + bus print(tbsum)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ea3c7df9f0e5316abbb0d9d4c9f74d3c9b6e2059
ffbac9f52b780403e8a25a5f0a0b8a57e724efa5
/meuprojeto/polls/admin.py
c58f534af0a48067fc84886ce29f95e2fbad56d6
[]
no_license
pigaov10/django_tets
fa66e800e54bab0d680c6b419ac187753a09a5bf
68c402daaf72018bbce794c5d01b536542366caa
refs/heads/master
2021-01-11T07:07:34.414643
2016-10-27T16:35:23
2016-10-27T16:35:23
72,032,781
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# -*- coding: utf-8 -*- from django.contrib import admin from meuprojeto.polls.models import Customer, Category @admin.register(Customer) class CustomerAdmin(admin.ModelAdmin): list_display = ('first_name', 'last_name','category') @admin.register(Category) class CategoryAdmin(admin.ModelAdmin): list_display ...
[ "pigaov10@gmail.com" ]
pigaov10@gmail.com
8bd850a7b050d7a43b4408f49cb5e8a1530dd597
540ba3ba15de706df1664ab39529b0008c822e76
/manage.py
949ea64d440cb247992df5df9ab7a4bd88616f20
[]
no_license
Rampiskold/QuerySet-API
8ce0771650ae1024e9b1db163445b13bcbdcfe87
eb377162c3b672cd6aedc9a36393c6a106d4cf75
refs/heads/master
2021-05-15T15:35:54.612552
2017-10-18T09:54:28
2017-10-18T09:54:28
107,117,348
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "QuerySet_API.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that...
[ "maksim.karpov.07@mail.ru" ]
maksim.karpov.07@mail.ru
5ffe1321bf0f5aeab2336e9d2bf742e4f943f8d4
b1213c567536bf490d45c0ab2de77ceeec9865e9
/network_insight_sdk_generic_datasources/parsers/common/horizontal_table_parser.py
050a55818188ba350b9edcf43236f5b066953d3f
[ "BSD-2-Clause" ]
permissive
vmware/network-insight-sdk-generic-datasources
84992b1d4205c950707a536b44e246f38663960e
db3b19df7035f8d7124d155141cbe8071eb28d51
refs/heads/master
2023-08-17T15:37:12.005361
2022-06-02T04:11:32
2022-06-02T04:11:32
190,723,591
14
11
BSD-2-Clause
2022-01-27T15:42:28
2019-06-07T10:08:14
Python
UTF-8
Python
false
false
4,037
py
# Copyright 2019 VMware, Inc. # SPDX-License-Identifier: BSD-2-Clause import re from network_insight_sdk_generic_datasources.common.log import py_logger class HorizontalTableParser(object): """ >>> horizontal_parser = HorizontalTableParser() >>> import pprint >>> header_keys = ['Mac Address', 'VTEP ...
[ "piyushr@vmware.com" ]
piyushr@vmware.com
be67b3d78dfe581cfe41e8bf0ac8acd188a3da8e
2ad7e88305a7d2215a816e1aa3a82ef50b685b23
/dshop/main/utilities.py
eacf75e1b907eea2ad161776d182389a5405e407
[]
no_license
KeksikProg/shop_chairs
5c9fb01f47676bb118fcc8161be1854e23271550
4bb09c409450cf2bb024c69d51d9f046520e9349
refs/heads/master
2023-06-26T17:21:27.678778
2020-08-06T16:28:29
2020-08-06T16:28:29
281,150,953
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
from datetime import datetime from os.path import splitext from django.template.loader import render_to_string from django.core.signing import Signer # Это для цифровой подписи from dshop.settings import ALLOWED_HOSTS from django.dispatch import Signal from django.db.models.signals import post_save def get_timestamp_p...
[ "fvvfvfvf.vfvfvfv@yandex.ru" ]
fvvfvfvf.vfvfvfv@yandex.ru
d676188c2588e84de56202458db7503191525a1e
715966248566909e4e8978230b37458d031418c5
/01.jumptopython/chap03/책/126-02.py
9e55500f0b6a62346082cb03961b4920774aabf8
[]
no_license
itminha123/jumptopython
1101f4e065ce2f8e0a1c68bb818b14b562fc43d1
8b25ae84f795eab5e7bcfa609646a2736ac2a98f
refs/heads/master
2021-09-19T08:29:33.686384
2018-07-25T18:59:55
2018-07-25T18:59:55
112,169,738
1
0
null
null
null
null
UTF-8
Python
false
false
534
py
coffee=10 while True: money=int(input("돈을 넣어 주세요:")) if money== 300: print("커피를 줍니다.") coffee=coffee-1 elif money>300: print("거스름돈 %d를 주고 커피를 줍니다."%(money-300)) coffee=coffee-1 else: print("돈을 다시 돌려주고 커피를 주지 않습니다.") print("남은 커피의 양은 %d개 입니다."%coffee) i...
[ "itminha123@naver.com" ]
itminha123@naver.com
80f1e939b436a00953e7fbd2879d43c7a2d0dbeb
115b11a4afa07f123a07bbd1a5c5c2ea8f7919cb
/interface.py
0131a5e5f3ff1ef2cc3833b13bd012215afb6272
[]
no_license
zlsa/acrobot
1af2feb24d775ed152203ee4a2e1426c438418f4
455f8f296bccbb811ed183302dd6027c6560a921
refs/heads/master
2021-01-18T23:23:30.499267
2016-06-21T22:50:02
2016-06-21T22:50:02
38,547,821
2
2
null
2015-07-06T18:45:29
2015-07-04T21:12:20
JavaScript
UTF-8
Python
false
false
774
py
class Interface: def __init__(self): self.acrobot = None self.init() self.start() def start(self): self._start() print('connected with ' + self.TYPE) def init(self): raise Exception('do not use Interface() directly') def handleMessage(self, text, channel, private=False): f...
[ "jonross.zlsa+gitlab@gmail.com" ]
jonross.zlsa+gitlab@gmail.com
52bad13f94b0f90846709fba274572fa370e643a
c085578abc19db18ee0766e1f9598d79a3acdbe1
/18-4Sum/solution.py
c5448eab17a5a88cac8e2880a4fc80d1a1c7a04b
[ "MIT" ]
permissive
Tanych/CodeTracking
efb6245edc036d7edf85e960972c34d03b8c707a
86f1cb98de801f58c39d9a48ce9de12df7303d20
refs/heads/master
2020-05-21T17:40:10.105759
2016-10-09T18:20:42
2016-10-09T18:20:42
60,616,356
0
0
null
null
null
null
UTF-8
Python
false
false
1,830
py
class Solution(object): def nsum(self,nums,start,n,target): nlen=len(nums) res=[] if nums[start]*n>target or target>nums[nlen-1]*n: return res for i in xrange(start,nlen-n+1): if i>start and nums[i-1]==nums[i]: continue if ...
[ "ychtan@email.gwu.edu" ]
ychtan@email.gwu.edu
fd0c93ec47ca70c94d9bc8e470186eac42081257
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_counselled.py
4ca2e9c494bd4785c5c7bc4a66f6f1113eba6619
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#calss header class _COUNSELLED(): def __init__(self,): self.name = "COUNSELLED" self.definitions = counsel self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['counsel']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cc1c5af056005d0f810c333d0941eb57b546c1f4
dc0f3bfce8f913ff195456bd972e9693e4eff7fc
/Stepik Python tasks/Math functions.py
6b419f8273568a41164c62d4407a21eb87554b0f
[]
no_license
sergeymong/Python
45b21a8c9d581382d526c5e123b971586e9a0b84
4a0bc7141d031ab83e8a2281456fbc1cf82c148d
refs/heads/master
2020-04-19T13:31:14.290082
2019-11-04T17:03:38
2019-11-04T17:03:38
168,219,832
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
def f(x): if x <= -2: return 1 - (x + 2) ** 2 elif x > 2: return (x - 2) ** 2 + 1 else: return -1 * x / 2
[ "s.sidoroff2011@gmail.com" ]
s.sidoroff2011@gmail.com
bfef42790dcf2535100c88b270582a22e88aab90
431a326dd877d56a3f2f2d73491bf38e7da2c632
/acuity.py
6aed530ac06dc8a804ca2168ff3d487f52cf70f4
[]
no_license
loganbest/acuity_calendar
078905f84ed49ff5e6bb86fb41cf6ec1ebc41831
cfe6390dc7068485ab123d405fc3c61c7820a7bc
refs/heads/master
2020-09-28T09:51:16.922741
2018-06-13T01:27:28
2018-06-13T01:27:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
"""This module handles all interactions with the Acuity API""" import requests import json import datetime import logging import constants import local logging.basicConfig(filename='acuity_calendar.log', level=local.LOG_LEVEL) def get_appointments(start_date=None, end_date=None): """ For...
[ "charlotte.ann.mays@gmail.com" ]
charlotte.ann.mays@gmail.com
5e0e21add3475faa613c2f8a4fd20de548899b3b
801a09681e7a9717b0a0907bf4a4fa9b1f59522f
/rentomatic/docs/conf.py
c265620109223922ad5bcbc0e1a0d2be742ff945
[ "MIT" ]
permissive
AndreasArne/Clean-Architecture
6f8bd95c349345b5e44ff35d90e821cf2244b8fa
2f838aff7698918a45ee2d92e1fa294d2f130d5b
refs/heads/master
2020-04-30T08:07:22.241507
2019-03-25T15:12:12
2019-03-25T15:12:12
176,705,599
0
0
null
null
null
null
UTF-8
Python
false
false
8,450
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # rentomatic documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # ...
[ "andreas_osby@hotmail.com" ]
andreas_osby@hotmail.com