blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
dc7573c5c67fce908a3ecf1ca25d09fedb1745d8
59636b143a2ab189145b17a7ea9a38de5af1f7a5
/All/yanfa/data_company_stats_py-develop/data_stats/all_table_compute/data_table/data_user_province.py
52b836732892405c4125192b6fe0411c90ecf404
[]
no_license
woshichenya/hezi
880a70c34cc61b6b6bcf1ccb65fa54989595fb71
4211ff8ef78f5d15d8fc8065247f916dfe9d305d
refs/heads/master
2020-04-28T21:46:02.664025
2019-05-14T08:47:33
2019-05-14T08:47:33
175,593,966
1
0
null
null
null
null
UTF-8
Python
false
false
499
py
# -*- coding: UTF-8 -*- from data_stats.all_table_compute.data_compute.data_user_province import DataUserProvinceCompute class DataUserProvince(object): _data = [] def set_data(self): data = [] list = DataUserProvinceCompute().user_province_list() for key in list: field =...
[ "bj_xiaoya@163.com" ]
bj_xiaoya@163.com
0a331e03d5130d8008ce6d309b03782f2b882560
5fde8297aff7fca77177ad6dbf0fe2dbe5146f3c
/rss_parser/management/commands/authors_summary.py
055148adbe1c0ac51d5ab5d2f4bbfda5797d3236
[]
no_license
TheResearchProject/CommentParser
c09f272a6342cda245843d1bc65e41be9ab77c00
896cce8bf9cfc8367de661f65a66610cc08f8fee
refs/heads/master
2020-04-04T14:37:12.456271
2018-11-03T17:37:47
2018-11-03T17:37:47
156,005,455
0
0
null
null
null
null
UTF-8
Python
false
false
19,401
py
from collections import Counter import cPickle from multiprocessing import Pool, Process import pdb import os.path import time from nltk.tokenize import RegexpTokenizer import networkx import MySQLdb from django.conf import settings from django.db import connections from comment_parser.utils import TextCleaner, dict...
[ "44655974+TheResearchProject@users.noreply.github.com" ]
44655974+TheResearchProject@users.noreply.github.com
79061e7cbd29287e8155fdab12060051a415c2fa
33cf10fd4a15db0256dbbaa3e24aef552eac21ec
/educe/stac/sanity/main.py
73ce0193844a9d176d8b406ef5697054ccb81054
[]
no_license
kowey/educe
f4ad36eab376b739cb5e8bf325f6313ca980bb02
c550f4383016e05fe20ad7180a027979e3540d1f
refs/heads/master
2020-05-18T20:41:36.546531
2015-06-12T13:45:09
2015-06-12T13:55:07
7,911,714
1
0
null
null
null
null
UTF-8
Python
false
false
13,377
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: Eric Kow # License: BSD3 """ Check the corpus for any consistency problems """ from __future__ import print_function from os import path as fp import argparse import codecs import glob import itertools import os import shutil import subprocess import sys import...
[ "eric.kow@gmail.com" ]
eric.kow@gmail.com
33c2123c7261da20f65b43ded367845531b00fa2
e402c78999a01e032afccf9091901c8f439360fc
/DAY02/example/value_1.py
6db73ded47e7ed874be757345b403a96df868b5b
[]
no_license
PengLovol/08.PythonThead
1c7362cc3212a244bfee7782e844f60e941e8faf
254f465b137f2dae1ee94a9eb590ccb09db5734d
refs/heads/master
2020-07-08T01:24:39.558672
2019-09-16T08:17:31
2019-09-16T08:17:31
203,527,523
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from multiprocessing import Process,Value import time import random #创建共享内存 money = Value('i',2000) #操作共享内存增加 def deposite(): for i in range(100): time.sleep(0.05) #对value属性操作即操作共享内存数据 money.value += random.randint(1,200) #取钱 def withdraw(): for i in range(100): time.sleep(0.04...
[ "1816525677@qq.com" ]
1816525677@qq.com
72e8787909ccc8d63fafb09b5692ee6e44df03f9
0f6e63d16c42a5c0da434e7708ed8801f153ef75
/harvester/storage_explorer/app.py
133a065cfbf7b992a53bf0183317124050c9ae9a
[ "BSD-2-Clause" ]
permissive
opendatatrentino/opendata-harvester
e5ed7a67cb0d62bdbc2b9f8c8f74276bc320355d
7cdff57e02cad22e35c4b19d15df7bbec730cc47
refs/heads/master
2021-01-24T06:12:59.671084
2015-01-22T12:48:53
2015-01-22T12:48:53
15,231,113
1
1
null
null
null
null
UTF-8
Python
false
false
2,584
py
from werkzeug.routing import BaseConverter import json import urllib import flask # from flask import request, session, abort from .views_html import html_views # from jobcontrol.utils.web import generate_csrf_token # from jobcontrol.web.template_filters import filters app = flask.Flask('harvester.storage_explorer'...
[ "redshadow@hackzine.org" ]
redshadow@hackzine.org
ad9ec66bdd863608072b4f6c21bc1097635ac889
852365eeb1567e966f20d69f1e9636bf1275980a
/icat/ids.py
0aa8042da747c44dfcd17bf26a966cfc255d32e3
[ "BSD-2-Clause" ]
permissive
Cerebro92/python-icat
9f454e1cc349d491f12c3ddf0742fd6e70be1db6
94db4e1f1d4b0bf96b5f13d77d1e43e6a2562b78
refs/heads/master
2020-12-24T23:39:04.640594
2016-02-24T09:14:40
2016-02-24T09:14:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,536
py
"""Provide the IDSClient class. This module is derived from the Python IDS client from the original `IDS distribution`_. Permission to include it in python-icat and to publish it under its license has generously been granted by its author. .. _IDS distribution: http://code.google.com/p/icat-data-service/ """ from c...
[ "rolf.krahl@helmholtz-berlin.de" ]
rolf.krahl@helmholtz-berlin.de
7fb673b35fe00b9109e0b32fd5d318f6a0063e2f
164e0f43ef3ad4cb7f6b28dfdd2bfbaa66d38ce2
/Pascal's_Triangle/Pascal's_Triangle.py
2f44cd4ed09289b70a44ba67e0801a187e5937ef
[]
no_license
maoxx241/code
b217f2d10065d90f52cfa38788c99e238565b892
16e97ec5ee7ae9ffa69da2e001d15a86d73d2040
refs/heads/master
2021-07-11T14:25:35.098241
2020-11-25T14:01:56
2020-11-25T14:01:56
222,544,519
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
class Solution: def generate(self, numRows: int) -> List[List[int]]: def helper(lst,depth): if depth>numRows: return lst.append([0]*depth) for i in range(depth): if i == 0 or i ==depth-1: lst[depth...
[ "maomaoyu870@gmail.com" ]
maomaoyu870@gmail.com
7cf84671be6abd1bead0241ba61213e2e3dbfd33
d8348bef501616d3da18a135fff0d5a81e0135df
/datasets.py
e4155ad33611620bad59f6a1ba187c37c5901b4b
[]
no_license
rogalag/Super_Resolution
a197cd8925dc9e2f71330e822268e01e1ef185fd
291a079ea62c11ec9c6d61da77e64168eb2f81d4
refs/heads/master
2020-04-13T16:39:40.908135
2017-10-14T13:37:42
2017-10-14T13:37:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
import os from glob import glob from PIL import Image, ImageFilter from torch.utils.data import Dataset from torchvision.transforms import Compose, Scale, CenterCrop class SuperResolutionDataset(Dataset): def __init__(self, root, large_size=(288, 288), small_size=(72, 72), transforms=None, limit=None): se...
[ "jacobsonaustinj@gmail.com" ]
jacobsonaustinj@gmail.com
bc0b77bfa7428d6fcddcdd08fea2899f5d4886f3
970df58868693ed5e7a7a8ccfa0615cafc049b16
/Edureka_tut_2/Edureka_tut_2.9.py
27c319e233d9c89e1ed0e684893274dbf362da51
[]
no_license
laksh10-stan/Python-Core-Tutorial-Codes
8e04eb9fabfd0a793c3b1f82fb5b725a0e04defb
b50112a6e02e7658d6a361e63f9e5e108901b1ad
refs/heads/master
2021-02-13T11:38:38.453626
2020-03-03T17:00:10
2020-03-03T17:00:10
244,692,961
0
0
null
null
null
null
UTF-8
Python
false
false
6,501
py
''' Difference between procedure oriented programming (POP) and Object oriented programming (OOPS) POP | OOP 1. In POP, program is divided into small parts called functions. |1. In OOP program is divided into parts called objects....
[ "43860070+Kushjadaun@users.noreply.github.com" ]
43860070+Kushjadaun@users.noreply.github.com
205a96a2e4c82dffda570a9863b9993594a209e0
01b8d3feec5e01b7784169ea835dfb99a60acc67
/demo/apps/ventas/admin.py
bf279cd41bfb36854df52e082e2ccb932da5c7e4
[]
no_license
gengue/DjangoPeliculas
6a0a0f48970aeb1f3be080104ad75a9e67ce8bf8
25064a782a5760c2dc1efd13595156b9123fe9b7
refs/heads/master
2020-03-29T12:55:52.753170
2013-09-08T16:49:41
2013-09-08T16:49:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from django.contrib import admin from demo.apps.ventas.models import cliente, producto admin.site.register(cliente) admin.site.register(producto)
[ "genesisdaft@gmail.com" ]
genesisdaft@gmail.com
0498e046d706a2c2fb90cd84b422cf9307144218
380a47268c5975473a2e7c38c747bc3bdbd981b1
/benchmark/third_party/transformers/tests/models/donut/test_modeling_donut_swin.py
a35a65505981f18ab8d07e2aacf6e5ed84c9dc6d
[ "Apache-2.0" ]
permissive
FMInference/FlexGen
07aa9b1918c19b02077e13ad07e76840843810dd
d34f7b4b43ed87a374f394b0535ed685af66197b
refs/heads/main
2023-07-24T02:29:51.179817
2023-07-21T22:38:31
2023-07-21T22:38:31
602,270,517
6,821
411
Apache-2.0
2023-07-07T22:59:24
2023-02-15T21:18:53
Python
UTF-8
Python
false
false
14,384
py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. 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 r...
[ "sqy1415@gmail.com" ]
sqy1415@gmail.com
faa4dbfd25b334dabb8657ec2fadc137d17f501f
267cc92ac0f47196f844a069faa28a996e29ae5c
/addresses/forms.py
be8026efa4b2cf37d2fcfa2e654fec46a5925605
[]
no_license
amrebrahem22/Modist
888700c18b2f04f2fcf7251341099c675e039918
b6030a70ec418bf048067db5a7908d0cdf32eaff
refs/heads/master
2022-12-09T20:59:05.099405
2020-01-24T23:48:48
2020-01-24T23:48:48
227,759,357
0
0
null
2022-12-08T03:29:35
2019-12-13T04:56:27
CSS
UTF-8
Python
false
false
2,520
py
from django import forms from django_countries.fields import CountryField from django_countries.widgets import CountrySelectWidget PAYMENT_CHOICES = [ ("S", "Stripe"), ("P", "Paypal"), ] class CheckoutForm(forms.Form): country = CountryField(blank=True, blank_label='(Select Country)').formfield(widget=Cou...
[ "amrebrahem226@gmail.com" ]
amrebrahem226@gmail.com
8329ffbefa5ed5224702d96fd716f57f3e134121
54c946f090ba5b505c778277332e32b4c92571ef
/clustergrammer2/clustergrammer_fun/export_data.py
5d51ffea5722aa4e2ba418280743c87fa4a2dbca
[ "MIT" ]
permissive
shalevy1/clustergrammer2
e19888245821176e233a10687112e8e50e04e241
ce616957f11e6153eabf0d67f7f7f429be6ee9dd
refs/heads/master
2023-03-08T00:11:44.791585
2021-09-17T17:06:25
2021-09-17T17:06:25
234,184,019
0
0
MIT
2023-03-01T00:48:35
2020-01-15T22:13:47
HTML
UTF-8
Python
false
false
1,398
py
def export_net_json(net, net_type, indent='no-indent'): ''' export json string of dat ''' import json from copy import deepcopy if net_type == 'dat': exp_dict = deepcopy(net.dat) if type(exp_dict['mat']) is not list: exp_dict['mat'] = exp_dict['mat'].tolist() elif net_type == 'viz': exp_d...
[ "nickfloresfernandez@gmail.com" ]
nickfloresfernandez@gmail.com
2568b7085928c1b4f4d3800be43cacef5f7ce99a
e05ae4df55c3a3ede241634117ddfa016544fd11
/2016/22/sol.py
57c90b5cd6c9a392b47a7c34557254e0a661dca5
[]
no_license
eirikhoe/advent-of-code
022a4381b3e7f6ce0eafd8e2f6c2557b814622ef
71eb5273675532f115cf3b8ab2a683a3ee1794c3
refs/heads/master
2023-01-10T06:38:49.706882
2023-01-02T10:51:01
2023-01-02T10:51:01
226,653,317
0
0
null
null
null
null
UTF-8
Python
false
false
5,361
py
from pathlib import Path import numpy as np from collections import deque import re data_folder = Path(".").resolve() reg = re.compile(r"/dev/grid/node-x(\d+)-y(\d+)\s+(\d+)T\s+(\d+)T\s+\d+T\s+\d+%") def man_dist(pos1, pos2): pos1 = np.array(pos1) pos2 = np.array(pos2) return np.sum(np.abs(pos1 - pos2)) ...
[ "eirik.hoeiseth@gmail.com" ]
eirik.hoeiseth@gmail.com
3b6ec30cc26481ccfa5c167e9f974e3b4f204eb5
db22cbbba3318b8a6a11eaef3013ee8bc4c55b39
/course-files/lectures/lecture_09/event_demos/option2_audio/01_buttons_demo.py
986b3f09a6ba0b33ee34279bc535d559cc3b6198
[]
no_license
eecs110/spring2019
30c0074d3b81b1e5280f421adebf7f643e7c68eb
0c16d36a9ce2d6b411401051d3775d53e67b4385
refs/heads/master
2020-05-02T17:20:53.290762
2019-08-21T17:39:46
2019-08-21T17:39:46
178,095,643
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
# http://effbot.org/tkinterbook/button.htm from tkinter import ttk, Tk, N, W, E, S, StringVar import psonic # code to set up the layout: root = Tk() root.title("Song Player") mainframe = ttk.Frame(root, padding="3 3 3 3") mainframe.grid(column=0, row=0, sticky=(N, W, E, S)) root.columnconfigure(0, weight=1) root.row...
[ "vanwars@gmail.com" ]
vanwars@gmail.com
5932a61f892f7891c241b4c84ca1de0bbe805e92
fab99ee4786fead76a7db19d03ad248c23d09030
/Jobspider/Jobspider/settings.py
dee5732b5fd686fdf8a47ea51f93f7cd2ee8c99c
[]
no_license
erroren/Scrapy
a5f1c57aceb7287ad2e1b90eb156207a0bfd9112
1bb216ac2718da12ea89d145cd85effd5dd62a71
refs/heads/master
2020-06-03T20:55:34.565320
2019-06-13T08:58:25
2019-06-13T08:58:25
191,727,820
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
# -*- coding: utf-8 -*- # Scrapy settings for Jobspider project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/top...
[ "hcy@qq.com" ]
hcy@qq.com
bf078e1d43190175fc989f75abc356f69cd51380
a49aba3f949207c905d1f0b7fba18cd719015e9a
/core/forms.py
1190dbd6b7b87b33f812dad6f5781c06afed92ff
[]
no_license
mhadiahmed/stander-template-project
35dc6a7c7cdbd5e735927ccdc88abab904f49fac
5d2d58657e79ef5271350bd3bac75977673b95f9
refs/heads/main
2022-12-27T17:23:45.563400
2020-10-17T15:28:37
2020-10-17T15:28:37
304,907,190
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
from django import forms from .models import FileUplad def validate_file_extension(value): if not value.name.endswith('.csv'): raise forms.ValidationError("Only CSV file is accepted") class FileUpladForm(forms.ModelForm): fiels_uploads = forms.FileField(label='Select a file',validators=[validate_fil...
[ "mhadiahmed63@gmail.com" ]
mhadiahmed63@gmail.com
5fe27698f8360d172a39c7d08666659656a283c6
a485f01fd697721356d4405dfef569c50499d652
/SipMask-benchmark/fcos_core/data/datasets/coco.py
700037774f4110eb132045f1d209a49babc80d66
[ "LicenseRef-scancode-proprietary-license", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Borda/SipMask
653333c1c7a7b5e9d0779c28f1b86d17b623aa5f
bc63fa93f9291d7b664c065f41d937a65d3c72fd
refs/heads/master
2023-05-25T11:11:44.452534
2021-03-26T02:47:49
2021-03-26T02:47:49
299,910,001
1
0
MIT
2020-09-30T12:22:24
2020-09-30T12:22:23
null
UTF-8
Python
false
false
3,647
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch import torchvision from fcos_core.structures.bounding_box import BoxList from fcos_core.structures.segmentation_mask import SegmentationMask from fcos_core.structures.keypoint import PersonKeypoints min_keypoints_per_image = 10 de...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
904b283eadd4da9168504b6cdc2262f3567531e0
cbfb679bd068a1153ed855f0db1a8b9e0d4bfd98
/leet/facebook/linked_list/middle_of_linked_list.py
c9a485e08a9bbb5fa0cf90bf246ba7b4e375375c
[]
no_license
arsamigullin/problem_solving_python
47715858a394ba9298e04c11f2fe7f5ec0ee443a
59f70dc4466e15df591ba285317e4a1fe808ed60
refs/heads/master
2023-03-04T01:13:51.280001
2023-02-27T18:20:56
2023-02-27T18:20:56
212,953,851
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class MySolution: def middleNode(self, head: ListNode) -> ListNode: count = 0 node = head while node: node = node.next count+=1 middl...
[ "ar.smglln@gmail.com" ]
ar.smglln@gmail.com
f0b4b743dda1bf25e33a7555d96391b100c02a08
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/llh.py
a1d9bd67b2bb44b29c52b1e1b3dac774aa5f21f4
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
eab06f7e43244042dece67cfea52852f9c30ce82
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/18/18.4sum.234400453.Accepted.leetcode.py
61eda2e8e271f2ea58cd9d9e18dd5fd9787c3a59
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
1,122
py
class Solution: def fourSum(self, nums, target): def findNsum(nums, target, N, cur): if len(nums) < N or N < 2 or nums[0] * N > target or nums[-1] * N < target: return if N == 2: l, r = 0, len(nums) - 1 while l < r: ...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
e8cb620d09965b12239233dba999f968ec8f70c2
017a57c810ad08ecff84652a252656afa3173e17
/odin/tests/__init__.py
c5cd509d0ce91848a3f2b081f31544048ce62e6e
[ "MIT" ]
permissive
SmartArduino/odin
0189e0b71ccac311887f0fda6bafb96ca9c53a88
1706c91c2fbafd23018ce98bf87b3928935b2466
refs/heads/master
2021-01-17T08:22:48.073115
2017-03-04T12:15:03
2017-03-04T12:15:03
83,890,654
0
0
null
2017-03-04T12:07:20
2017-03-04T12:07:20
null
UTF-8
Python
false
false
820
py
import unittest # python -c "from odin.tests import run; run('theano')" # python -c "from odin.tests import run; run('tensorflow')" def run(backend='tensorflow', device='gpu'): tests = [ 'utils_test', 'fuel_test', 'backend_test', 'nnet_test', 'rnn_test', # 'compare_...
[ "nickartin13@gmail.com" ]
nickartin13@gmail.com
e66bf57f86a84c7e935334610c97f615f3f7f45f
a04542243a2e7eaf1b432351778a61478767f415
/directi/queue_reconstruction.py
c5aa3f12d5c0b1b25ca838815728d4d861b9efdd
[]
no_license
smartinsert/CodingProblem
d4f0660ddfb48e70b17c8be5cd03d25982d35bfc
f11e622e55ad743833384977bd0a58070a489199
refs/heads/master
2022-01-25T18:57:40.069253
2022-01-10T04:28:29
2022-01-10T04:28:29
227,775,933
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
""" Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of this person who have a height greater than or equal to h. Write an algorithm to reconstruct the queue. """ from typing i...
[ "ankit.thakur@fractalanalytics.com" ]
ankit.thakur@fractalanalytics.com
3b759d39732c844bd50ff074c0b9e33729fe19f1
01bdaeb747542df98e2d1dfed0c3c3b113bbf6ff
/http_service/restful_server/urls.py
9d50855fd68136f1152af8416addbd7c977aaf54
[ "Apache-2.0" ]
permissive
tobegit3hub/tensorflow_template_application
5d90adc3ddd7366335c0fde3c5fbeb1d8c95f5b7
a2be179bf5e2624cdc3c0ed3cf8b5f7eff87777d
refs/heads/master
2023-07-20T13:36:08.924668
2021-05-20T02:09:13
2021-05-20T02:09:13
63,595,107
1,168
456
Apache-2.0
2023-07-05T20:27:21
2016-07-18T10:54:20
Python
UTF-8
Python
false
false
875
py
"""restful_server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cl...
[ "tobeg3oogle@gmail.com" ]
tobeg3oogle@gmail.com
722d08843a0c6c24fd55392772d83755c36b9b6b
10d98fecb882d4c84595364f715f4e8b8309a66f
/jaxnerf/nerf/model_utils.py
37a118bfb78feb5494926ee03175a68a32997364
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
12,316
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
fcc0bd624250ccf9292beb7ce86dc7fbc6d890ad
590a0c3a7254b8dac85ab18072dbf766aca7af93
/python_productivity/08_re.py
9e76841575f38d3ea6768de8a92093c6f458db91
[ "MIT" ]
permissive
MiracleWong/PythonPractice
90c66d29a9cdf0200d3dbac946d05f12dd856e91
40aecd84045ad18f6aff95d5b8be8e352ca0a726
refs/heads/master
2021-08-15T17:19:51.543013
2021-06-15T03:59:51
2021-06-15T03:59:51
98,256,005
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
# “[]”的作用是进行内容模式匹配; # “{}”的作用是指定匹配长度。 # “+”表示前边的元素出现的是1 到无穷多次。 # “*”表示前面的元素出现的是0 次到无穷多次。 # “?”表示前面的元素出现的是0 次或一次。 # “^”表示从第 1 个字符开始匹配。 # “$”表示从结尾开始匹配。 # 1. 匹配单个字符,要使用“[ ]”和“.”元字符。 # 2. 控制元字符出现次数,要使用“?”、“+”和“*”元字符。 # 3. 控制元字符的顺序和位置,要使用“^”、“$ ”、“ | ”和“ ()”元字符。 import re re.search("[0-9]{11}", "13855556666") re.search(...
[ "cfwr1991@126.com" ]
cfwr1991@126.com
0b07a7da4aea4f4e01980df96d847b022dd71b7f
dd098f8a93f787e38676283679bb39a290ba28b4
/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post.py
ddb05255d056c148935244b250ccce7ce110c4ee
[ "Apache-2.0" ]
permissive
InfoSec812/openapi-generator
727c0235d3bad9b85ac12068808f844287af6003
e0c72702c3d5dae2a627a2926f0cddeedca61e32
refs/heads/master
2022-10-22T00:31:33.318867
2022-08-20T14:10:31
2022-08-20T14:10:31
152,479,633
1
0
Apache-2.0
2023-09-04T23:34:09
2018-10-10T19:38:43
Java
UTF-8
Python
false
false
5,187
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import re # noqa: F401 import sys # noqa: F401 import typing import urllib3 import functools # noqa: F401 from urllib3._collections import HTTPHeaderDict from unit_test_api import api_client, exceptions im...
[ "noreply@github.com" ]
InfoSec812.noreply@github.com
4c52c47862b745ef695134c8ba1a54d2dffe34c8
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/coop/oracleadjclearrslt.py
71c6206e8e6632017caeeaba17c3376561cdeda0
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
398,566
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
f7e1d0a9931d8d9fb1e55dd72169e529cfd546ba
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/l2/egrbytesag1d.py
29c9057dd466bb95eb49863c6b0811f7b209eec7
[]
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
25,742
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
7554a83acc4157e72b66751cc81948ff445def05
7a013424c82b71bc82aa312e0165a1af4170ac23
/ABC/ABCpanasonic/ABCpanasonicC.py
4c116541aa6339f5e7a6203b0040bfda9f127d36
[]
no_license
kikugawa-shoma/Atcoder
fe3405e36dd3e4e25127b6110d6009db507e7095
7299116b7beb84815fe34d41f640a2ad1e74ba29
refs/heads/master
2020-12-21T19:10:12.471507
2020-10-10T16:38:18
2020-10-10T16:38:18
236,531,207
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
a, b, c = map(int, input().split()) if c-a-b <= 0: print("No") else: if 4*a*b < (c-a-b)**2: print("Yes") else: print("No")
[ "kikugawa-s@sys.i.kyoto-u.ac.jp" ]
kikugawa-s@sys.i.kyoto-u.ac.jp
cf246f46e4e5496acc76629ff72c57b70f85f536
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/HWWSemiLepHighMass/nanoAODv5/v6_production/2017/NJET_biined_WJets/SKIM10/HMFull_V11_nom_cprime1.0BRnew0.0/MassPoints/structure_M3000_mu.py
8280655bd260d69600ead809faddc272a1250380
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
1,189
py
structure["DY"]={ "isSignal" : 0, "isData" : 0 , } structure["MultiV"]={ "isSignal" : 0, "isData" : 0 , } structure["qqWWqq"]={ "isSignal" : 0, "isData" : 0 , } structure["top"]={ "isSignal" : 0...
[ "soarnsoar@gmail.com" ]
soarnsoar@gmail.com
e2e114c41a3dbf3702a4c9c2d7d08864d54390dc
35fe9e62ab96038705c3bd09147f17ca1225a84e
/a10_ansible/library/a10_ip_route_rib.py
1a17f8919e1f878b1b0ed0fac3c7f93c565ea649
[]
no_license
bmeidell/a10-ansible
6f55fb4bcc6ab683ebe1aabf5d0d1080bf848668
25fdde8d83946dadf1d5b9cebd28bc49b75be94d
refs/heads/master
2020-03-19T08:40:57.863038
2018-03-27T18:25:40
2018-03-27T18:25:40
136,226,910
0
0
null
2018-06-05T19:45:36
2018-06-05T19:45:36
null
UTF-8
Python
false
false
6,216
py
#!/usr/bin/python REQUIRED_NOT_SET = (False, "One of ({}) must be set.") REQUIRED_MUTEX = (False, "Only one of ({}) can be set.") REQUIRED_VALID = (True, "") DOCUMENTATION = """ module: a10_rib description: - author: A10 Networks 2018 version_added: 1.8 options: ip-dest-addr: description: ...
[ "mdurrant@a10networks.com" ]
mdurrant@a10networks.com
58fb96f25d1fdcc67abc30b7793d7ce7161b97f0
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.26/2/1569574098.py
7f024ce9ebc86d39b15f7e71b624a9b9de7bbdf0
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
3,684
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def is_palindromic(n: int): """Calculates if the given integer is a palindrome Args: n(int): an integer n > 0 Return: a bool value(True/False) """ if n > 0: n = str(n) ...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
6bae8ea3b2b2a80999274334a3ac78851ea0f90a
99dcb18a9e3ea367272f740b8cbf3c34285a0c08
/.sample_configs/param_handlers/list_data_labeling_jobs_sample.py
262b8ef6e9b2416f5782950a801a8fcc6aec8ac9
[ "Apache-2.0" ]
permissive
googleapis/python-aiplatform
926a4873f35dbea15b2fd86c0e16b5e6556d803e
76b95b92c1d3b87c72d754d8c02b1bca652b9a27
refs/heads/main
2023-08-19T23:49:02.180075
2023-08-19T13:25:59
2023-08-19T13:27:27
298,017,988
418
240
Apache-2.0
2023-09-14T21:08:33
2020-09-23T15:43:39
Python
UTF-8
Python
false
false
727
py
# Copyright 2020 Google LLC # # 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 applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
googleapis.noreply@github.com
a0f0fb3689e17ecb0d840cc28da9b0d6d9687ede
194bc9d6748d9eb7d5fb97c3b85bd7ca7442d31e
/webapp/experiments/dash-upload/template-4-divs.py
4c511173bb9568fc75fbfed01c7b672be8deea60
[ "BSD-2-Clause" ]
permissive
paul-shannon/IJAL-interlinear
6b27ab22882aec277e6bbbff4822c85824d5ae50
9da5ef3e895e414323844699cb90af5fbab91b1e
refs/heads/master
2021-05-04T16:43:40.894587
2018-12-27T18:01:09
2018-12-27T18:01:09
120,257,922
0
1
BSD-2-Clause
2018-10-08T20:28:39
2018-02-05T05:12:30
HTML
UTF-8
Python
false
false
3,546
py
import datetime import base64 import pdb import dash from dash.dependencies import Input, Output, State import dash_core_components as dcc import dash_html_components as html external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) ap...
[ "paul.thurmond.shannon@gmail.com" ]
paul.thurmond.shannon@gmail.com
cbfcaadd9b1ab774226dee4fa4a3e4c570f8aa13
8b83d79425985e9c87ff4b641c2dcb6a151f3aa1
/recipes/api.py
9c00c16514f9c31b838a71af93bacf0870aa7bac
[]
no_license
akx/pyttipannu
e1366d982bae62a70da24b7da1a93c40efb51217
7b02f7d18d594beddb64beb99283c738ca06b8f0
refs/heads/master
2021-01-13T09:15:59.086825
2016-09-29T13:52:17
2016-09-29T13:52:17
69,023,828
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
from django.contrib.auth import get_user_model from rest_framework import routers, serializers, viewsets from recipes.models import Recipe class UserSerializer(serializers.ModelSerializer): class Meta: model = get_user_model() fields = ('id', 'username') class RecipeSerializer(serializers.Model...
[ "akx@iki.fi" ]
akx@iki.fi
256cd7d011bc273f87e57d9e7c799f598cf57676
3b15dc211cb6c034f4d843b1bbc540f1699182f7
/学生管理系统升级版(GUI界面)/root/sel.py
430fea88cd59b51df6c53afc2a14885f49666e50
[]
no_license
Hanlen520/-
eea27d5a1272272a2f47f9070f285e44300ab0d2
308d3401ff368cd11f4aeac7949d57c3136f2b6e
refs/heads/master
2023-03-15T19:18:25.168665
2020-07-05T14:39:41
2020-07-05T14:39:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,347
py
from tkinter import * import pymysql class Select(object): def __init__(self): self.root = Tk() self.root.title('学生管理系统__查询模块') self.root.geometry("700x400") self.root.resizable(width=False, height=False) self.label = Label(self.root, text='学号:', width=10, font=('微软雅黑,10')) ...
[ "admiwj@outlook.com" ]
admiwj@outlook.com
b885f364b2aa9691ab7cb008fd3cb6ba8da2ee84
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/MSjfXQ4gvMzeezFgB_24.py
36e28719fc34fbe584c375c9a22937ea3b1c392c
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
""" The 50-30-20 strategy is a simple way to budget, which involves spending 50% of after-tax income on needs, 30% after tax income on wants, and 20% after-tax income on savings or paying off debt. Given the after-tax income as `ati`, what you are supposed to do is to make a function that will return a dictionary t...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
abffed2cff59d351582d3a3283ad1d1cf1d03fdf
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007/applications/network/gift-openft/actions.py
b677576e6316673e2c6121c66a63f8d6653b29fe
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir = "gift-openft-...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
da272093fc1c3b9da05863231fddcf093a5823fc
e874aed81b6ae75467262423cf5fc4c6e4a31c64
/dsn_brand/models/__init__.py
0713fecc562934ab55c38a16d89f063cc8b9e3ee
[]
no_license
disna-sistemas/odoomrp-wip
9dc14704e4aad00f95313d5465802fca13809b1a
96958f442ae0e5274c8d7ebb8f2d1b636a16d48a
refs/heads/master
2020-12-06T23:27:22.321202
2015-11-20T09:57:24
2015-11-20T09:57:24
26,594,685
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free S...
[ "sistemas@disna.com" ]
sistemas@disna.com
c3d92ea1e84b34a05e9fd98091fb29f3267f2324
7fe5a5c618383a9f18e05ba9879e411f8d6cf1a2
/dayone_18636/wsgi.py
d5cf29ed2983dc97fa88fc22edbae3a79495e85f
[]
no_license
crowdbotics-apps/dayone-18636
06236dea8f65540035fcd844b8f244706c12c08d
c8cb80eb7751ba18ce75632a4e047df016d4f416
refs/heads/master
2022-11-14T02:35:18.981699
2020-07-05T22:45:49
2020-07-05T22:45:49
277,395,574
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for dayone_18636 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
eb6bd7869ff11944672d977beaf50b3046888e75
05d7a117b9c8fa71b6d9c8770f1f90001b37e847
/apiproject/base.py
6c60284fc79096778d3a49448fd503e80bc71e92
[]
no_license
xinxi1990/api_requests
a90c3ed257bf5e4513892b8541e89378312c3b29
eb84f63687746c558256a4bd4313f1ca5c3ceeb5
refs/heads/master
2020-04-16T12:59:08.502966
2019-01-16T02:43:21
2019-01-16T02:43:21
165,605,028
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @Author : xinxi @Time : 2018/12/5 18:34 @describe: 部门 """ import requests,unittest,os,yaml,json from logger import get_logger import time logger = get_logger() current_path = os.path.abspath(os.path.dirname(__file__)) token_yaml = os.path.join(current_path,"token.y...
[ "xinxi@luojilab.com" ]
xinxi@luojilab.com
dd46989385d6dc6416a03d03a23a9f0be8713e34
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/__init__.py
0b90bebc7e5ab83ddee78ec885de95c222a38050
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
62,058
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
aeed45d0c2a6a1ffb8434f6b89b650e6ebdecff1
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/hybridnetwork/v20200101preview/virtual_network_function.py
799e7f9bd0f42892752766543acaad07f87591af
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,925
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
690de493c15e9f1e21e7736dcb2bb5982342d18a
be0230169735376215c212f482ba0e2b804eed79
/0x00-python_variable_annotations/6-sum_mixed_list.py
b7db7cf93cc1a94429a27179ec89bc0534d13896
[]
no_license
RaudoR/holbertonschool-web_back_end
6c375abd0cc77f152b0a3d45388a8092d23cd01d
f00a4e7d37064e453d26538f3a6098fb430cb0c3
refs/heads/master
2023-02-15T16:02:39.147979
2021-01-15T01:29:12
2021-01-15T01:29:12
305,573,053
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python3 """ mixed list """ from typing import List, Union def sum_mixed_list(mxd_lst: List[Union[int, float]]) -> float: """ Write a type-annotated function sum_mixed_list which takes a list mxd_lst of integers and floats and returns their sum as a float. """ return sum(mxd_lst)
[ "rivaspaulino@outlook.com" ]
rivaspaulino@outlook.com
3a65fc97349d323602f42122c32950172f1e1284
97062249c6eb04069c6fb01e71d06bc334c828e1
/desktop/core/ext-py/Django-1.6.10/tests/managers_regress/models.py
d8dd22ec9a14c673d278c50ea288ebf3e8857d8d
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
Albertsss/hue
1c8b31c64cc420a029f5b5b80712fb3d0c6cbd6e
454d320dd09b6f7946f3cc05bc97c3e2ca6cd485
refs/heads/master
2021-07-08T17:21:13.237871
2018-05-30T06:03:21
2018-05-30T06:03:21
135,386,450
0
1
Apache-2.0
2020-07-25T13:36:58
2018-05-30T04:06:18
Python
UTF-8
Python
false
false
2,650
py
""" Various edge-cases for model managers. """ from django.db import models from django.utils.encoding import python_2_unicode_compatible class OnlyFred(models.Manager): def get_queryset(self): return super(OnlyFred, self).get_queryset().filter(name='fred') class OnlyBarney(models.Manager): def get...
[ "540227148@qq.com" ]
540227148@qq.com
810d299e20bd5a36ac74cceefb2fd8c199959a4b
cc3aa35b7d5039e782a0c2787123c2dd8b3480e3
/basicinformation/migrations/0006_promocode.py
4a12ea22f46180fdbf7e77c0f8d9366b78943d5b
[]
no_license
prashantspandey/bodhiai_test
3ae9614ad428b0488a0b79e1a2b1bff67050871a
2d3a11c5a596ee05613b28e0153bc0cb480fab9a
refs/heads/master
2022-12-14T00:06:52.333755
2019-04-04T09:07:33
2019-04-04T09:07:33
179,462,093
0
0
null
2022-12-08T01:03:43
2019-04-04T09:06:43
Python
UTF-8
Python
false
false
818
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2019-02-16 11:12 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('basicinformation', '0005_studentchallenge'), ] ope...
[ "prashants_pandey@outlook.com" ]
prashants_pandey@outlook.com
95d56e90cedcef2eeabd3e4d5032d29b361a846e
7997a9581ac4badc53793e32bc85878b8e16094e
/wip/is_point_on_a_line_segment.py
14615109f6c4b678242dd141fbbf7bf0c050692c
[]
no_license
jasonfleming/pputils
78adb832c5860a37e1473a43a5b9a54ad4d5ce55
2b34e47e4c3331d5780019d248e3f37c71164665
refs/heads/master
2022-09-29T13:40:38.657005
2022-08-10T19:40:06
2022-08-10T19:40:06
79,500,881
1
0
null
2017-01-19T22:17:09
2017-01-19T22:17:09
null
UTF-8
Python
false
false
1,188
py
# http://stackoverflow.com/questions/328107/how-can-you-determine-a-point-is-between-two-other-points-on-a-line-segment class Point: def __init__(self, x, y): self.x = x self.y = y class Segment: def __init__(self, a, b): self.a = a self.b = b def is_between(se...
[ "pprodano@gmail.com" ]
pprodano@gmail.com
0cbe86dfd2081d879f7a12818d01d08ad487d1b1
5122751036c0bd64a9c271f3213702797288a48e
/ipl2019/migrations/0002_auto_20190404_1426.py
b8284c42c04c8bcfaa24a297eb8e1f1dc63754a4
[]
no_license
crazynayan/ipl2019-django
c9ff89bdf369c555e3ffa627edd4000d332c5027
da6d96d3bc3dd1f8794f2c5f69cf5fb03931fad9
refs/heads/master
2021-06-26T06:29:41.848920
2020-01-06T13:36:03
2020-01-06T13:36:03
179,234,335
0
0
null
2021-06-10T21:19:11
2019-04-03T07:27:14
Python
UTF-8
Python
false
false
567
py
# Generated by Django 2.1.5 on 2019-04-04 08:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ipl2019', '0001_initial'), ] operations = [ migrations.AlterField( model_name='member', name='balance', ...
[ "nayan@crazyideas.co.in" ]
nayan@crazyideas.co.in
5c7021caca64a82bab37ef79a319971adbda83f9
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp/sblp_ut=3.5_rd=0.65_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=67/params.py
98c635d9410f36f78da3d1305c18be21be650d3b
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
{'cpus': 4, 'duration': 30, 'final_util': '3.527905', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.65', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'RUN', 'trial': 67, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
abffd06d85eafaab5c669f70cefbbce36ca3c2a0
3442670c0dddefefa71d20968d0caffd0c0223f6
/python/pyxbos/pyxbos/drivers/obvius/sensordb.py
b13e5a895e65324d8ba2a7775d4fefe17c52251c
[ "BSD-3-Clause" ]
permissive
gtfierro/xboswave
4535a9e0faeae044257e9f2466fc63554a5fd0aa
9375491daf48357a9f1d54dc16dec1dd14235b30
refs/heads/master
2023-02-22T19:17:01.229493
2022-03-29T21:14:25
2022-03-29T21:14:25
157,648,991
10
5
BSD-3-Clause
2023-02-15T02:12:04
2018-11-15T03:50:56
Go
UTF-8
Python
false
false
22,104
py
import sys import re MAYBEFLOATPAT = r'^(-?\d+(\.\d+)?)' """Format for the entries under 'sensors' and 'meters' is a 5-tuple consisting of: (obvius name, regular expression to parse the reading value with, sMAP sense point name sMAP channel name sMAP formatting object) MAYBEFLOATPAT is a regular expres...
[ "gtfierro225@gmail.com" ]
gtfierro225@gmail.com
8b9cfb6287c9f1b13c7a1dd88c70442519b5763d
564ccf876cd04d199dd2364e2e138989598be98d
/Stock/venv/Lib/site-packages/plotly/validators/_candlestick.py
a4c56d4f9d245c504945724bd201119fb9b5f60b
[]
no_license
hcz2000/pywork
7eedcc7d53d85036b823a2ed96a1bffe761a8aec
345820faa87de131203a98932a039725ff2bebda
refs/heads/master
2023-08-15T10:48:36.176886
2023-07-26T09:23:09
2023-07-26T09:23:09
134,735,647
0
0
null
null
null
null
UTF-8
Python
false
false
11,925
py
import _plotly_utils.basevalidators class CandlestickValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__(self, plotly_name="candlestick", parent_name="", **kwargs): super(CandlestickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "huangchangzhan@hotmail.com" ]
huangchangzhan@hotmail.com
fb84b49fe692ca596c5b8cdcb72fb6a8a1f92ad3
f97a6c73a594829c78ef605dc73ec77eddd6a73f
/utils/management/commands/qshell.py
2dc60db3c2fcf3cdee54da07ecb96ed7c707298c
[ "Apache-2.0" ]
permissive
tperrier/mwachx
220c6a8a0206f0968aaff9b74bd78bf0425b3f0c
94616659dc29843e661b2ecc9a2e7f1d4e81b5a4
refs/heads/master
2021-06-30T12:42:04.125431
2020-09-13T19:38:20
2020-09-13T19:38:20
30,064,531
3
6
Apache-2.0
2021-06-10T19:44:21
2015-01-30T09:05:00
Python
UTF-8
Python
false
false
2,687
py
#!/usr/bin/python from django.core.management.base import BaseCommand, CommandError import contacts.models as cont import backend.models as back import transports.africas_talking.api as at import datetime as dt from django.db import models from django.db.models import Count import code, os def count_field(qs,field): ...
[ "t.perrier@gmail.com" ]
t.perrier@gmail.com
6ca6a01ffc77deba84125c429537a1a99c4023c6
cc78de009a8e7805f9f6a852774e0384b11bfdcb
/testcase/page/learn_center/writing/word_spell/word_spell_answerPage1.py
bafae637cce6e02f0d4eacac420a64ee82332d8b
[]
no_license
williamzxl/app_test_many_devices
c1806e54c17a84f18a04c3808604633c2deba052
dd5434018fadd11d5462903cafaafbb5b387c24a
refs/heads/master
2020-03-29T21:20:51.239295
2019-03-05T03:13:56
2019-03-05T03:13:56
150,361,766
1
1
null
null
null
null
UTF-8
Python
false
false
2,456
py
import re # from time import sleep from testcase.common.allBasePageClass import AllBasePage from selenium.webdriver.common.by import By from utils.config import get_appPackage class WSFillAnswerPage1(AllBasePage): appPackage = get_appPackage() ''' 单词拼写题目作答页 ''' page_title_id = (By.ID, "{}:id/title...
[ "1053418947@qq.com" ]
1053418947@qq.com
67c7dd9dfec81e0ddbf20360b4a12b0e87a5a7f0
8981902427dc577228dfd5611c6afe86c3e2e9e2
/dsmr_frontend/forms.py
0bd2aff4c761d76c17ac0a33141b4d89b8019ed0
[]
no_license
genie137/dsmr-reader
5515f4f92bb05bcf00f0e8a0fbd1a018d408950b
4d934b4838cb2de4a66ff193f4f3095e9beecd99
refs/heads/master
2020-03-21T18:14:05.182137
2018-06-12T14:54:55
2018-06-12T14:54:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
from django import forms from django.utils.translation import ugettext_lazy as _ class ExportAsCsvForm(forms.Form): DATA_TYPE_DAY = 'day' DATA_TYPE_HOUR = 'hour' DATA_TYPES = ( (DATA_TYPE_DAY, _('Day')), (DATA_TYPE_HOUR, _('Hour')), ) EXPORT_FORMAT_CSV = 'csv' EXPORT_FORMATS = ...
[ "github@dennissiemensma.nl" ]
github@dennissiemensma.nl
226a0c909b43ff7c77f17a159416a087b8dff83e
6e820756b82ffbe9837348937e53f1a0ce0e6cca
/algorithms/nump/simple_example.py
e5e6fed3b0797f49cdfb0e7bdcf177f3e37a8701
[]
no_license
AndreasPatsimas/pms_papei
c2afd941de6ae234dd37784d746e794183ebb8d3
da10220ea468304c1066bed55b8f92ba9e5ada8a
refs/heads/master
2023-02-01T23:33:39.221747
2020-12-19T12:17:59
2020-12-19T12:17:59
321,115,913
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
import numpy as np arr = np.array([1, 2, 3, 4, 5]) print(arr) # Check Number of Dimensions print(arr.ndim) # Checking the Data Type of an Array print(arr.dtype) # Creating Arrays With a Defined Data Type arr = np.array([1, 2, 3, 4], dtype='S') print(arr) # Get the Shape of an Array # NumPy arrays have an attribu...
[ "45208441+AndreasPatsimas@users.noreply.github.com" ]
45208441+AndreasPatsimas@users.noreply.github.com
a73f7163fe45f38a4b683851996ac2d44b151d25
9ca4b45ef243b20b5ab89d0139fc8d46742b80ae
/medium/leveret-lunch/lunch.py
6c4dd711c148d503bba1667e23e2c5f2c34868cc
[]
no_license
lyoness1/hb-code-challenges
f31cc1c8b32236d75903e760568ee624ae22e918
70874fdbe3860a222cbdae3e58745d1f328656a1
refs/heads/master
2020-12-25T11:06:15.925882
2016-10-22T16:02:42
2016-10-22T16:02:42
61,758,297
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
"""Leveret lunch count. Check that garden is valid:: >>> garden = [ ... [1, 1], ... [1], ... ] >>> lunch_count(garden) Traceback (most recent call last): ... AssertionError: Garden not a matrix! >>> garden = [ ... [1, 1], ... [1, 'a'], ... ] >>> l...
[ "alyoness1@gmail.com" ]
alyoness1@gmail.com
27744eabadbc77a14165c9e5cf8ec86e24f61e77
3d5035d6b6ece6beca77ee625b6f1b4a906c4c3a
/project-addons/custom_coop/models/res_users.py
87ea597a7c03e1dc90dd73577ddf14ead4124ea0
[]
no_license
fadeldamen/CMNT_00033_2015_COOP_IV
98ba3fd4ca5df17651f251c76aec80b92c497603
f1f0027b25dffe1281de956c146340dd825cbe9b
refs/heads/master
2020-04-07T22:00:58.920747
2016-02-02T17:39:22
2016-02-02T17:39:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2015 Comunitea All Rights Reserved # $Jesús Ventosinos Mayor <jesus@comunitea.com>$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GN...
[ "jesus@comunitea.com" ]
jesus@comunitea.com
c2849cbebf97794df1d5933a3fd41638ea01cdd7
4254f26a7f4c0ee8d6265bda303f9b956203c349
/termtest.py
22655e3794880ce0bda61f3a90ad1ec21f649128
[]
no_license
runt18/pywikibot-wiktionary
6b5e9742df82f3382d955270c9cfe4c8c51cfcb7
0020ff2d873c712ff95d3c2a3f97e3d5565f188a
refs/heads/master
2021-01-09T09:33:24.235902
2016-04-12T04:45:52
2016-04-12T04:45:52
55,256,694
0
0
null
2016-04-12T04:45:53
2016-04-01T19:18:52
Python
UTF-8
Python
false
false
3,242
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Unit tests for term.py""" import term import unittest class KnownValues(unittest.TestCase): knownValues = ( ('en', 'noun', 'en', 'example', '', "'''example'''", '[[example]]'), ('en', 'noun', 'nl', 'voorbeeld', 'n', "'''voorbeeld''' ''n''", ...
[ "legoktm@gmail.com" ]
legoktm@gmail.com
430e424c0153b60adbbabcb0086b3383ca8850e7
f8baff291cdf02ea92141c7a7eb48b859776c224
/google/cloud/dialogflow_v2beta1/services/fulfillments/transports/grpc_asyncio.py
aeefa86bd32a0bea4f726a586f8116ddb24c568d
[ "Apache-2.0" ]
permissive
precs-jmcrs/python-dialogflow
1a6a12741cb14460f5ecfe1200b2b0a20064b5cb
bf68864ff14e1a1f3626cb27fbbabb96e618358f
refs/heads/main
2023-08-20T09:45:21.354126
2021-10-25T20:52:08
2021-10-25T20:52:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,963
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 applicable law or...
[ "noreply@github.com" ]
precs-jmcrs.noreply@github.com
3ee17af2b9f853e924b54b8ca053ff97bf35374f
4b81a7e86fe4e05b2486898bd55d52639b698626
/backend/immigration/api/models.py
5dd46cf76676852cf4700404c5560de7c65f760d
[]
no_license
dandavison/_owldock
94c910b172fa495bb769268c196c5131c7e02127
196e849cb70de44523132e67659f8344f8d5cc0a
refs/heads/main
2023-08-18T19:54:42.782049
2021-08-01T21:42:56
2021-08-01T22:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,377
py
""" This module contains pydantic model definitions, defining the shape of JSON documents being sent to or received from the javascript app. """ from __future__ import annotations from collections import defaultdict from decimal import Decimal from typing import Any, Dict, List, Optional from uuid import UUID from pyd...
[ "dandavison7@gmail.com" ]
dandavison7@gmail.com
7b30923873d615634478fcbbeb1aa188044ff057
b946cbb33451310a4de412963e31543f4c40b5a2
/projects/TensorMask/tests/test_swap_align2nat.py
7e60da3e2fcb9f8339e6b0ea7e7fdd6445723f25
[ "Apache-2.0" ]
permissive
mbsariyildiz/detectron2
4f3778923e764fea342e3f5beab3d6e1a3be69ca
1353101f05349c2b54079e896e88cb05ab939475
refs/heads/master
2020-09-05T04:06:49.804589
2019-12-15T13:54:27
2019-12-15T13:54:27
219,977,744
4
0
Apache-2.0
2019-11-06T11:08:24
2019-11-06T11:08:24
null
UTF-8
Python
false
false
1,032
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import unittest import torch from torch.autograd import gradcheck from tensormask.layers.swap_align2nat import SwapAlign2Nat class SwapAlign2NatTest(unittest.TestCase): @unittest.skipIf(not torch.cuda.is_available(), "CUDA unavailable") d...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
32bac95c8ce38805ef39efaf053b3dcf616b5947
682581de9e3674d157877756d1a536f5b028c045
/script/FitDecomp1.py
0b861010f01580155a700a71e89fd92d8d3c9f70
[]
no_license
wchnicholas/ProteinGFourMutants
3a81b9175e0e5bb864d5723fa59443a3ba07eda6
dbdd7639187e0b8f22359f404ce4d1d950fcc8a9
refs/heads/master
2023-08-16T19:53:02.475407
2023-08-03T12:24:44
2023-08-03T12:24:44
33,599,807
8
0
null
null
null
null
UTF-8
Python
false
false
3,464
py
#!/usr/bin/python import os import sys import operator import networkx as nx import numpy as np from itertools import imap def all_shortest_paths(G, source, target, weight=None): if weight is not None: pred,dist = nx.dijkstra_predecessor_and_distance(G,source,weight=weight) else: pred = nx.pred...
[ "wchnicholas@Nicholass-MacBook-Pro.local" ]
wchnicholas@Nicholass-MacBook-Pro.local
b9df3a7b1cb0e0d0a5d2238164129c3f42f5e484
124df74bce796598d224c4380c60c8e95756f761
/com.raytheon.viz.gfe/localization/gfe/userPython/textUtilities/regular/CommonUtils.py
b01ecd2c8a2f2b3a6bd7cacfb53eaef2cdf361a4
[]
no_license
Mapoet/AWIPS-Test
19059bbd401573950995c8cc442ddd45588e6c9f
43c5a7cc360b3cbec2ae94cb58594fe247253621
refs/heads/master
2020-04-17T03:35:57.762513
2017-02-06T17:17:58
2017-02-06T17:17:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,931
py
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to ...
[ "joshua.t.love@saic.com" ]
joshua.t.love@saic.com
53963a4bb4365afff8895a8adfc6a9933499ff0f
66c3ff83c3e3e63bf8642742356f6c1817a30eca
/.vim/tmp/neocomplete/buffer_cache/=+home=+dante=+proyectos=+django-1.3=+Dynamic-Form-Todo-Add-in-Django=+todo=+forms.py
4bee1721949bd039b71ed2a8189b20a079a55c64
[]
no_license
pacifi/vim
0a708e8bc741b4510a8da37da0d0e1eabb05ec83
22e706704357b961acb584e74689c7080e86a800
refs/heads/master
2021-05-20T17:18:10.481921
2020-08-06T12:38:58
2020-08-06T12:38:58
30,074,530
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
{'from', 'dynamicform', 'todo', 'models', 'import', 'Change', 'as', 'necessary', 'django', 'forms', 'ModelForm', 'class', 'TodoListForm', 'Meta', 'model', 'TodoList', 'TodoItemForm', 'TodoItem', 'exclude', 'list'}
[ "pacifi.bnr@gmail.com" ]
pacifi.bnr@gmail.com
c606ff4f7cb749aebe402659a06acb5e2e87904c
21f56e2c30ee5ab6a96777d391b0e8457211a04e
/cifar10/exp1_train_aux.py
22036b456196c7bb0d13b2d4dcd017765d3b342e
[]
no_license
forlovezed/pkth
ee16af34c27b7d42fc426a605e55e82192f0c24f
5766e6398c574598c0b166bfadfaf573a7190a61
refs/heads/master
2022-08-29T08:00:42.727426
2020-05-25T12:48:04
2020-05-25T12:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
from nn.nn_utils import load_model, save_model from loaders.cifar_dataset import cifar10_loader from models.cifar_tiny import Cifar_Tiny from models.resnet import ResNet18 from nn.retrieval_evaluation import evaluate_model_retrieval from nn.pkt_transfer import prob_transfer import torch def run_transfer(learning_rate...
[ "passalis@csd.auth.gr" ]
passalis@csd.auth.gr
88a7ac87ce72fa9c105aa2ab9137bc35b6541498
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4455621.3.spec
a4782dd3c998cc95c06e80e81725339b2e46e413
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,306
spec
{ "id": "mgm4455621.3", "metadata": { "mgm4455621.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
d08eab8db2ba06a696541c0b4aa7542a8c1cd10d
3d16bcf91c546dfc638bf9e48d7690e8aed37ee2
/xsrc/stm32-gcc-arm/arm-none-eabi/lib/thumb/v8-m.base/nofp/libstdc++.a-gdb.py
e5fc2440c8ac4faac9047b11c76f5d16202c8160
[]
no_license
johnttaylor/colony.core
7c3aa43abdd564689e1540795b8044228b97271c
e00902d33c9224a34e9f68edb02c18eb9571b09f
refs/heads/master
2023-07-24T08:34:04.956247
2023-06-20T00:02:55
2023-06-20T00:02:55
31,176,673
2
2
null
2023-06-17T21:56:08
2015-02-22T19:38:07
C
UTF-8
Python
false
false
2,540
py
# -*- python -*- # Copyright (C) 2009-2020 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later versio...
[ "john.t.taylor@gmail.com" ]
john.t.taylor@gmail.com
205aa11bc32a47a51b79b776705c999dcfeae9a6
0adb68bbf576340c8ba1d9d3c07320ab3bfdb95e
/regexlib/python_re2_test_file/regexlib_1820.py
f99a71f28e257ae1419c3a050522c6948107e3f3
[ "MIT" ]
permissive
agentjacker/ReDoS-Benchmarks
c7d6633a3b77d9e29e0ee2db98d5dfb60cde91c6
f5b5094d835649e957bf3fec6b8bd4f6efdb35fc
refs/heads/main
2023-05-10T13:57:48.491045
2021-05-21T11:19:39
2021-05-21T11:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
# 1820 # ^([0-9]*\,?[0-9]+|[0-9]+\,?[0-9]*)?$ # POLYNOMIAL # nums:5 # POLYNOMIAL AttackString:"0"+"0"*5000+"!1 _SLQ_2" import re2 as re from time import perf_counter regex = """^([0-9]*\,?[0-9]+|[0-9]+\,?[0-9]*)?$""" REGEX = re.compile(regex) for i in range(0, 150000): ATTACK = "0" + "0" * i * 10000 + "!1 _SLQ_2"...
[ "liyt@ios.ac.cn" ]
liyt@ios.ac.cn
474cc4762ae9b6091342705b50ac98e99a54198d
72600cef1f2c76c13ecc5bef60539a953ef48c82
/nxctmctree/trajectory.py
94324282007f3c994dcb5486c1795979ef13ba62
[]
no_license
argriffing/nxctmctree
0110c1a3a9cbcbb8680249d6e529d5b53e33c8c3
1b2e79bb883389de35fa848c8de6d36191add60f
refs/heads/master
2016-09-05T09:22:21.431038
2014-08-05T20:07:21
2014-08-05T20:07:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,336
py
""" A data structure for a state trajectory on a fixed tree. In the notation of this module, the 'history' refers to the joint states at nodes of the fixed tree, whereas 'events' refer to substitutions or self-substitutions that occur on edges of the fixed tree. Event times are with respect to the root of the fixed tr...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
f3e040ea70c33a327f53a30ee46ca7645478fa60
9a181799f7b87aace15f0db9afedd861259a48c2
/Arabic to roman numbers converter.py
bf8945568e3ef8d4564eb17749e79839e2cb93e3
[]
no_license
D-Katt/Coding-examples
77bea4cf1099019b12bbafd967c1c017adf4e9b8
81e8b47857513b7961cab4c09b8c27c20b8b8081
refs/heads/master
2021-12-25T05:01:05.026469
2021-12-17T13:43:57
2021-12-17T13:43:57
226,685,637
4
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
# Integer to Roman # Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. # Symbol Value # I 1 # V 5 # X 10 # L 50 # C 100 # D 500 # M 1000 # For example, two is written as II in Roman numer...
[ "noreply@github.com" ]
D-Katt.noreply@github.com
7e4ead27e810dd908fd657d50c42792ac7ba01ab
a4a44ad46cd1306e2da72ff89483b0102fc9787d
/SamplePython/samplePython/Networking/Socket/_00_pendahuluan.py
422e5432c5dfcb73f3ddb23e6b7e955a7a173aca
[]
no_license
okipriyadi/NewSamplePython
640eb3754de98e6276f0aa1dcf849ecea22d26b1
e12aeb37e88ffbd16881a20a3c37cd835b7387d0
refs/heads/master
2020-05-22T01:15:17.427350
2017-02-21T04:47:08
2017-02-21T04:47:08
30,009,299
1
0
null
null
null
null
UTF-8
Python
false
false
15,837
py
""" Socket adalah mekanisme komunikasi yang memungkinkan terjadinya pertukaran data antar program atau proses baik dalam satu mesin maupun antar mesin. Gaya pemrograman socket sendiri berawal dari sistem Unix BSD yang terkenal dengan kepeloporannya pada bidang penanganan jaringan, sehingga sering disebut BSD Socket....
[ "oki.priyadi@pacificavionics.net" ]
oki.priyadi@pacificavionics.net
ffeade40af4b498a47013a18f89e3b057b49b88d
4250618abef0d0dcf399f8a2a23e2049c3458ea8
/website/wiki/models/urlpath.py
3d8e7fa85911410634444e67628e248ea68e46a8
[ "MIT" ]
permissive
skbly7/serc
121fd7e88df25213de4d53fce4bd03c2ea448d68
4442298ee05c24c3c6bacffdc56a9f6076397cce
refs/heads/master
2020-12-27T03:18:45.280464
2019-05-16T06:10:31
2019-05-16T19:13:12
53,425,352
0
2
MIT
2019-05-16T19:13:14
2016-03-08T16:00:03
Python
UTF-8
Python
false
false
13,506
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from __future__ import print_function from __future__ import absolute_import import logging from six.moves import filter # @UnresolvedImport from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from dj...
[ "skbly7@gmail.com" ]
skbly7@gmail.com
6aea06b541e36c188ccd87c6b895258050f544ef
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/smtpd.pyi
7decf4f8b81ded03c1689cd2acf4432651e4ae30
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
188
pyi
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-jedi-0.17.0-zugnvpgjfmuk5x4rfhhxlsknl2g226yt/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/smtpd.pyi
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
f1ed91bb9b3db0a97488ca91336bdd0f3e824042
7411ea21925ab37083aa13358dcf9dcedb7d832c
/Tools/PyTorch/TimeSeriesPredictionPlatform/triton/calculate_metrics.py
10dee0a6637d544b6e588ccb43bfc84e70e44301
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
xizil/DeepLearningExamples
1006be30f32a5077f2918660437477a5ac1bb22b
41ca5820a4e5bfcc564f9fd685733ac188af1d85
refs/heads/master
2022-06-17T15:03:23.547531
2022-05-19T00:08:00
2022-05-19T00:08:00
222,425,672
0
0
null
2019-11-18T10:46:01
2019-11-18T10:46:01
null
UTF-8
Python
false
false
3,718
py
#!/usr/bin/env python3 # Copyright (c) 2021, NVIDIA CORPORATION. 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 # # U...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
18617e07f8f83c7cfb2f74cf9f3b512ed0288274
77b2f534d8eb7f4c521d092d8ffd4352d71e4eaf
/hubhub/jupyterhub_config.py
c906b6e47ec9d29c08d8fe7833641be4a20808b1
[ "MIT" ]
permissive
minrk/jupyterhub-yo-dawg
f256cf9b3f90d70aecfb53c924802d822d741844
92fc0043fd9e1328ec326faac98e5827d0de9ce1
refs/heads/main
2023-04-14T14:07:34.719088
2021-04-12T19:26:57
2021-04-12T19:26:57
356,289,635
1
0
null
null
null
null
UTF-8
Python
false
false
822
py
# register the 'subhub' as a service c.JupyterHub.services = [ { "name": "subhub", # redirect uri for OAuthenticator is "{hub_public_host}/hub/oauth_callback}" "oauth_redirect_uri": "http://subhub.local.minrk.net:9000/hub/oauth_callback", # oauth_client_id could be omitted, default i...
[ "benjaminrk@gmail.com" ]
benjaminrk@gmail.com
6d828dc73dc4a019234dd3084a9b7a7f10af25a3
029aa4fa6217dbb239037dec8f2e64f5b94795d0
/数据结构练习/Python算法指南数据结构/__init__.py
ecc1e400c8fe385d3f4a37c0bbdfa1c0a697abfb
[]
no_license
tonyyo/algorithm
5a3f0bd4395a75703f9ee84b01e42a74283a5de9
60dd5281e7ce4dfb603b795aa194a67ff867caf6
refs/heads/master
2022-12-14T16:04:46.723771
2020-09-23T06:59:33
2020-09-23T06:59:33
270,216,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None class Solution: def max_high(self, root): # 求该树的最大高度 if root is None: return 0 left_length = self.max_high(root.left) right_length = self.max_high(root.right) re...
[ "1325338208@qq.com" ]
1325338208@qq.com
606515694a3f683ff31e9746c7799ff4ef54d432
7d29770cfebebd951b1d48b60c10f8f22f8d4bd1
/fabfile.py
3678b569659f2908cfc59ed401d81a4054a1da3b
[ "MIT" ]
permissive
vinthony/simple_python_server
89a2c256108ef2b40c5b8bc08b7a40b99689cd9a
43ee476f7a3f835db0a6dcd816de38bae864c851
refs/heads/master
2016-09-08T00:32:05.256289
2015-05-24T13:54:42
2015-05-24T13:54:42
31,638,015
2
0
null
null
null
null
UTF-8
Python
true
false
5,496
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Deployment toolkit. ''' import os, re from datetime import datetime from fabric.api import * env.user = 'root' env.sudo_user = 'root' env.hosts = ['192.241.212.122'] db_user = 'root' db_password = 'root' _TAR_FILE = 'dist-awesome.tar.gz' _REMOTE_TMP_TAR = '/tmp/...
[ "vinthony@gmail.com" ]
vinthony@gmail.com
22ad473338894a48c86a409a7404716e710b5bb0
f3494a6910d6015d11729969a29536cb6329eedb
/nova/tests/hyperv/stubs/test_hypervapi_HyperVAPITestCase_test_attach_volume_wmi.py
31d2989af84f7f6c0517e142a78e2b4a972955a4
[ "Apache-2.0" ]
permissive
alexpilotti/nova
2baf303fe969447aeebc686697f864c991b15825
ec7e9286877b02627276597880c9388dabe2c8d3
refs/heads/master
2021-01-16T22:07:10.512879
2013-01-07T20:36:46
2013-01-07T20:36:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
189,576
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # 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 applicable ...
[ "ap@pilotti.it" ]
ap@pilotti.it
855311b76dc28b0b45b1075cd05f3bdb27a64d37
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/update_anticrawler_rule_type_response.py
71fade648c239729585561bd00aa9f1cff6407bf
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,809
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdateAnticrawlerRuleTypeResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
af306572c75a71d951466436087bfbb64e0f1f9c
2d05050d0ada29f7680b4df20c10bb85b0530e45
/gallery/how_to/deploy_models/deploy_model_on_adreno.py
0ea76bb288f844a55ac1c7d8e2aa1a3fbab24acf
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Zlib", "LLVM-exception", "BSD-2-Clause" ]
permissive
apache/tvm
87cb617f9a131fa44e1693303aaddf70e7a4c403
d75083cd97ede706338ab413dbc964009456d01b
refs/heads/main
2023-09-04T11:24:26.263032
2023-09-04T07:26:00
2023-09-04T07:26:00
70,746,484
4,575
1,903
Apache-2.0
2023-09-14T19:06:33
2016-10-12T22:20:28
Python
UTF-8
Python
false
false
17,114
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
apache.noreply@github.com
cf500db1eedeb8cb6c4e8320a933d53b9d19fcf2
f546248daf7fd64aeff6517e9fea668b459f9b62
/yatwin/interfaces/http/methods/set_apwifi.py
a52fa3771edea9623add97994240901a1e42db6d
[]
no_license
andre95d/python-yatwin
2310b6c6b995771cea9ad53f61ad37c7b10d52d0
7d370342f34e26e6e66718ae397eb1d81253cd8a
refs/heads/master
2023-03-16T18:06:17.141826
2020-05-12T23:04:53
2020-05-12T23:04:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
from . import method_types from .. import parameters from .constants import permissions from .constants import methods """ Library containing set_apwifi (an instance of <ParamMethod>) Constants defined here: ENDPOINT DESCRIPTION GET_PARAMETERS POST_PARAMETERS RETURNS METHOD FILES Imports:...
[ "26026015+tombulled@users.noreply.github.com" ]
26026015+tombulled@users.noreply.github.com
8e60ddf1b53ee54ddcf396fdb7d3817f2ead8174
f3448af9923fe1977a8bba1adfba7eccee6c61f8
/utils/download_exams.py
3dd34cb19db263332b56c42dfa124ee53d834d50
[ "Apache-2.0" ]
permissive
gabrik/ingunict-bot
d5e07cb4c16fdf9463b52f328599a52f2b47e3fd
51ec51779bcea9dd4b66a2a5a86051a856c00fc1
refs/heads/master
2020-04-15T15:01:31.153746
2016-09-06T13:16:43
2016-09-06T13:16:43
49,597,255
4
1
null
2016-07-24T14:09:20
2016-01-13T19:42:17
Python
UTF-8
Python
false
false
1,811
py
# -*- coding: utf-8 -*- import re import urllib2 import sys import os.path as path import json from unidecode import unidecode from utility import * exams_regex = '<td><a.+?href=".+?view=materia&amp;id=.+?".+?title="(.+?)">.+?<\/a><\/td><td>(.+?)<\/td><td.+?>(.+?)<\/td><td >(.+?)<\/td><td>(.*?)<\/td><td>(.+?)<\/td><t...
[ "gabriele.baldoni@gmail.com" ]
gabriele.baldoni@gmail.com
1892b0ee430ba91dab9c5a78e8266b8a531b470a
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/surface/compute/instances/delete_access_config.py
1ffe6d7bda3e1968913f59ba3209cb720ed928a5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
3,026
py
# Copyright 2014 Google Inc. 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 applicable law or ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
4bcf18b8c4b4e52d0f93c140d208c68b3e2c2c95
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/plugins/dbms/maxdb/connector.py
01d9c91af03a78105416eff363c14c892048cbf3
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
#!/usr/bin/env python """ Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ from lib.core.exception import SqlmapUnsupportedFeatureException from plugins.generic.connector import Connector as GenericConnector class Connector(GenericConnector): d...
[ "everping@outlook.com" ]
everping@outlook.com
1ced1b10124d3fde11d982b2f027bfeb682b2888
91efab132a3c0a763c9737c84fddb0a75481d79f
/contrib/seeds/generate-seeds.py
129ed064255d123bcb9311c3f76f535073a310d4
[ "MIT" ]
permissive
zurcoin/zurcoin
cc608000cc164f973f61c353f4b5fb5699db942c
ce1f44fbe60afa8ed67cf7a5fe10a5fb73315b88
refs/heads/master
2021-07-09T17:26:40.921729
2021-05-06T03:46:42
2021-05-06T03:46:42
102,293,359
4
5
null
null
null
null
UTF-8
Python
false
false
4,379
py
#!/usr/bin/python # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Script to generate list of seed nodes for chainparams.cpp. This script expects two text files in the directory tha...
[ "quentin.neveu@hotmail.ca" ]
quentin.neveu@hotmail.ca
dc71a918cce9bc65fd40afe3979ade03f5cb1cb3
c5be188cf1231d62f7ad69c98ee71b4bc181f6f2
/Shi_Tomasi_corner_detect.py
88803dc0e5490af3aaff7954ee26386411976ed7
[]
no_license
ashish1sasmal/OPENCV-Python
e2d81e4472413ba79c5cdd4fcaad534225a5d394
589accc3c16eb4bf515ba85ee46ae6fdc2347bc6
refs/heads/master
2021-07-17T17:56:30.438576
2020-10-16T17:12:09
2020-10-16T17:12:09
217,500,976
2
0
null
null
null
null
UTF-8
Python
false
false
416
py
import cv2 import numpy as np import matplotlib.pyplot as plt cv2.namedWindow('Image', cv2.WINDOW_NORMAL) img = cv2.imread("chess.jpg") gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) corners = cv2.goodFeaturesToTrack(gray,500,0.01,10) corners = np.int0(corners) for i in corners: x,y = i.ravel() cv2.circle(i...
[ "ashishsasmal1@gmail.com" ]
ashishsasmal1@gmail.com
0488924fc8cfb464682a218ea3c42ab5ff15097a
22bea740c45a8bca47f97a1f2d69c401084a7fa5
/nakhll_market/migrations/0063_auto_20200730_2037.py
a44ffc88db7c3f6aa1243bb1ac30a38d42ec42ae
[]
no_license
learnasgo/app
7c60c3556350a6dc00a1c5548b86d1c33d85a920
876c1af2e477b66282f11a7119c0f9c6ea47d70c
refs/heads/main
2023-01-24T06:01:03.300104
2020-11-21T15:00:51
2020-11-21T15:00:51
314,040,000
0
1
null
null
null
null
UTF-8
Python
false
false
469
py
# Generated by Django 2.2.6 on 2020-07-30 16:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nakhll_market', '0062_auto_20200627_1731'), ] operations = [ migrations.AlterField( model_name='productbanner', ...
[ "admin@example.com" ]
admin@example.com
5d02c1e9f9d9fed9e345d0d579069e89cac030d5
ba831f80d2b71cb84f713993d6fa808e782d139a
/src/single_e_class_unified.py
5644059d06a0e44977df9f3735b75a46b78161d9
[]
no_license
HOLL95/SV_paper
e424bc1888e924100fad9ed418e027d5d695464e
b7ba5e2cb8bb05d5bd64dd541d2d2b36dd934713
refs/heads/master
2021-04-01T12:41:02.288820
2020-09-22T14:49:25
2020-09-22T14:49:25
248,189,177
1
1
null
2020-03-27T14:33:11
2020-03-18T09:32:55
Python
UTF-8
Python
false
false
26,627
py
import isolver_martin_brent #import isolver_martin_NR from scipy.stats import norm, lognorm import math import numpy as np import itertools import multiprocessing as mp import matplotlib.pyplot as plt from params_class import params from dispersion_class import dispersion from decimal import Decimal import copy import ...
[ "henney@localhost.localdomain" ]
henney@localhost.localdomain
ef7d3bccbdb1a8fbddfd71ebdba634fba02a635e
a1614311937bae5204e171b2a3481fb31e61a490
/media/codigos/294/294sol12.py
ae6f33677767413f5af1cb8d63d232f419c50412
[]
no_license
alexandre146/avaliar
8d406100ed72f10292a0580edac50ad061ad92e9
3daf247ca68962086592a356e013b07fa1569afe
refs/heads/master
2020-03-21T03:09:29.493919
2018-07-23T11:41:38
2018-07-23T11:41:38
137,883,682
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
X = int(input()) Y = int(input()) consumo = (X/Y) print ( "%.3f"%(consumo),"km/l")
[ "alexandre146@gmail.com" ]
alexandre146@gmail.com
7d7616ef86d9491ca0f2e5df4f8de83cbc8fbea1
7b1f8d8145c2095ef25897ea47dbf429d7f0ee01
/apps/product/models.py
c8db8424ba9bc116fd481ef1b4494f2f8029cadd
[]
no_license
wwj718/yaxiuji
770d5cb47afb6a52b5e090199cb618921e7b38c9
956eaf25e049ce92e44da1bfb9968212d2134d49
refs/heads/master
2020-12-25T21:44:00.022108
2014-04-09T12:20:25
2014-04-09T12:20:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
#coding=utf-8 from django.db import models from sorl.thumbnail import ImageField # Create your models here. class ProductCategory(models.Model): '''建一个模型,每次编辑''' name = models.CharField(max_length=40, verbose_name=u'分类名称') #order = models.IntegerField(default=0, verbose_name=u'图片顺序') pic = ImageField(blank=True...
[ "wuwenjie718@gmail.com" ]
wuwenjie718@gmail.com
a156d5690a9e8e04d398ff417552594aa68fbf28
a43057a432dc68888c9742100bb3f17587107159
/psi4_step/psi4.py
b0ca38d447724f64ad51d8177fe2be36a6414bc1
[ "BSD-3-Clause" ]
permissive
molssi-seamm/psi4_step
1b3f54f5898703098ac69840ea6c8930a5a2c3c5
80c6e4b5bf5422a73d33ddaef292b4589a0216a4
refs/heads/main
2023-09-01T17:30:18.845381
2023-06-05T12:46:23
2023-06-05T12:46:23
279,128,291
2
1
BSD-3-Clause
2023-06-05T12:46:24
2020-07-12T18:52:42
Python
UTF-8
Python
false
false
18,915
py
# -*- coding: utf-8 -*- """Non-graphical part of the Psi4 step in a SEAMM flowchart """ import json import logging from pathlib import Path import pprint import psutil import psi4_step import seamm from seamm_util import ureg, Q_ # noqa: F401 import seamm_util.printing as printing from seamm_util.printing import F...
[ "paul@thesaxes.net" ]
paul@thesaxes.net
bcd5a584ec499c6feaa002f048578130e1356500
7e2ac6f7fc32711d34d9716ffe008f7d1bc2ded0
/pyprob/concurrency.py
7fe2329131c8dae1fd39b8677b9db63fe39e4a08
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
ammunk/pyprob
7e13c682481af7dd70b0339f79ec7c90f83af92f
dd71451b8ed6d07fe894beb4cbad7c59a01e9a3b
refs/heads/master
2023-07-06T22:00:47.873548
2022-07-07T21:07:37
2022-07-07T21:07:37
156,126,659
3
0
BSD-2-Clause
2023-02-02T19:28:38
2018-11-04T21:26:31
Python
UTF-8
Python
false
false
2,837
py
from collections.abc import Mapping import shelve import random import time class ConcurrentShelf(Mapping): def __init__(self, file_name, time_out_seconds=60): self._file_name = file_name self._time_out_seconds = time_out_seconds self._locked_shelf = None shelf = self._open(write=T...
[ "atilimgunes.baydin@gmail.com" ]
atilimgunes.baydin@gmail.com
cab6a24e1e8a6d6d0d18897f4d2227e556b54f8f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03638/s541558095.py
5f5885935e2615f1392ad3cfd6c23be0d89561e9
[]
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
320
py
H, W = map(int, input().split()) n = int(input()) a = map(int, input().split()) alist = [] i = 1 for ai in a: alist.extend([str(i)]*ai) i += 1 i = 0 for h in range(H): start = h * W end = start + W if h % 2 == 0: print(' '.join(alist[start:end])) else: print(' '.join(alist[end-1:start-1:-1]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0d1452a18730da2a42b83914ea73011b9c9827bd
1a809f0f6b639b38eac3ca2b3ca6f385a9bce9d0
/0x0B-python-input_output/13-student.py
a292d625a2f31a00626eead1b8d3a77af0251ffd
[]
no_license
oscarmrt/holbertonschool-higher_level_programming
830790c5964e5d4c998f867b73e1e0f77b309e5a
be8319a5748cdc71ffe76f959e8ecd083fafb545
refs/heads/master
2020-09-29T06:00:41.391101
2020-05-14T20:44:17
2020-05-14T20:44:17
226,969,916
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
#!/usr/bin/python3 """ student module """ class Student: def __init__(self, first_name, last_name, age): self.first_name = first_name self.last_name = last_name self.age = age def to_json(self, attrs=None): if attrs is None: return self.__dict__ n_dict = {}...
[ "oscarmrt@hotmail.com" ]
oscarmrt@hotmail.com
d47cc4ec61cfcdb99d31a3bd3e64a049de2eb7a8
0dddc0508138396c740901be4a0f9eebefb8fded
/ax/storage/tests/test_registry_bundle.py
394205b2b5aef188e1c1082cde2301a07ad5435b
[ "MIT" ]
permissive
facebook/Ax
473beb143016f95f4ec381ed1bd95b32c1ca31f8
6443cee30cbf8cec290200a7420a3db08e4b5445
refs/heads/main
2023-09-01T09:29:13.684709
2023-08-31T21:49:30
2023-08-31T21:49:30
169,880,381
2,207
315
MIT
2023-09-14T21:26:51
2019-02-09T15:23:44
Jupyter Notebook
UTF-8
Python
false
false
1,706
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from ax.metrics.botorch_test_problem import BotorchTestProblemMetric from ax.metrics.branin import BraninMetric from ax.runners.botorch_test...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
73ce9a14b04a26abba045762784b1b5884d6c821
9cbc64ee93b0ad69eca289c369756d71f4013fa9
/build/hector_slam/hector_nav_msgs/cmake/hector_nav_msgs-genmsg-context.py
bf85522993db4407bbb939fa69c8bd36d098a042
[]
no_license
gsimon2/ros_catkin_ws_old
7800d2926d253eccf8e258363ac91da19a69286d
d15d379f23fdaf74c244a021e2fd548ce3739611
refs/heads/master
2021-03-22T04:45:27.225743
2017-06-27T15:10:42
2017-06-27T15:10:42
88,072,324
2
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "" services_str = "/home/simongle/simulation/ros_catkin_ws/src/hector_slam/hector_nav_msgs/srv/GetDistanceToObstacle.srv;/home/simongle/simulation/ros_catkin_ws/src/hector_slam/hector_nav_msgs/srv/GetRecoveryInfo.srv;/home/simongle/simulation/ros_catki...
[ "simongle@msu.edu" ]
simongle@msu.edu
f18db876b2c2535594cf5af4ee44725ad616ca14
a3b2c7069c9fab8632b0568db5ab79aceacf9c9c
/build/ros_comm/clients/roscpp/catkin_generated/pkg.develspace.context.pc.py
5e01277656f75d996ff36b3b596d8658b105b86e
[]
no_license
tbake0155/bluedragon_workspace
08ed85d9de29c178704bd3f883acafae473b175e
384d863e00689cf40cde4933447210bbb1ba8636
refs/heads/master
2021-05-12T01:35:45.896266
2018-01-15T14:59:39
2018-01-15T14:59:39
117,558,143
1
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/tim/catkin_ws/devel/include;/home/tim/catkin_ws/src/ros_comm/clients/roscpp/include;/home/tim/catkin_ws/devel/include/ros;/usr/include".split(';') if "/home/tim/catkin_ws/devel/include;/home/tim/...
[ "tbake0155@gmail.com" ]
tbake0155@gmail.com
713592b7e36c3110472c9446d88a97fe9643ba0b
56a9adc7a7ff02388e5746e134b03a0b33b6fe43
/Session31A.py
6971fd9cb867e9adb9f55f6f2a78e405e390ddda
[]
no_license
ishantk/GW2019PDec
c29853b09528928201aeb7ad6bfca071da318836
d94258c7d7584520b8757dce5afaa53ddd76155d
refs/heads/master
2020-09-20T06:00:37.685155
2020-01-23T07:39:32
2020-01-23T07:39:32
224,393,828
1
0
null
null
null
null
UTF-8
Python
false
false
734
py
import requests import json url = "https://newsapi.org/v2/top-headlines?sources=techcrunch&apiKey=" # print(url) response = requests.get(url) # print(response.text) # Covert JSON Data into Python Dictionary news = json.loads(response.text) # print(news) # print(type(news)) # print(news["status"]) print(news["total...
[ "er.ishant@gmail.com" ]
er.ishant@gmail.com
8d6ee4b37b8fd7e07f595fd42af6e033f7274638
9925a2b08e0b949144f337262aa916a0ff3b7099
/1232. Check If It Is a Straight Line(E).py
af51ef90a7f4b8994d28f94dea5155b5cc07758d
[]
no_license
ppp7720/leetcode
e3aebf4e559c47f27a04537a13f9fb4e1af4f2c3
906b85185015c88df245553417f0f63d0c98c67f
refs/heads/main
2023-04-20T07:26:16.571829
2021-05-16T16:14:43
2021-05-16T16:14:43
357,154,686
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
from typing import List coordinates = [[0,0],[0,1],[0,-1]] class Solution: def checkStraightLine(self, coordinates: List[List[int]]) -> bool: if coordinates[1][0] - coordinates[0][0]: a = (coordinates[1][1] - coordinates[0][1]) / (coordinates[1][0] - coordinates[0][0]) fo...
[ "noreply@github.com" ]
ppp7720.noreply@github.com