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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33f935bea229e032c0010156da4138460aa8b87b | 0fccee4c738449f5e0a8f52ea5acabf51db0e910 | /genfragments/Guns/SinglePiPt100Eta1p6_2p8_cfi.py | 7114b9ba046ef43a0d856832cc7b42d9623ef41d | [] | no_license | cms-sw/genproductions | f308ffaf3586c19b29853db40e6d662e937940ff | dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4 | refs/heads/master | 2023-08-30T17:26:02.581596 | 2023-08-29T14:53:43 | 2023-08-29T14:53:43 | 11,424,867 | 69 | 987 | null | 2023-09-14T12:41:28 | 2013-07-15T14:18:33 | Python | UTF-8 | Python | false | false | 618 | py | import FWCore.ParameterSet.Config as cms
generator = cms.EDProducer("FlatRandomPtGunProducer",
PGunParameters = cms.PSet(
MaxPt = cms.double(100.01),
MinPt = cms.double(99.99),
PartID = cms.vint32(211),
MaxEta = cms.double(2.8),
MaxPhi = cms.double(3.14159265359),
Mi... | [
"andreas.psallidas@cern.ch"
] | andreas.psallidas@cern.ch |
43a001b61a2b88c85128419e2299cf68b0abffef | ad8cc76e8b35aae9756a406859ce637c31c940ac | /bertQA/pytorch_pretrained_bert/__init__.py | 1efc7bb8727c93cc48cbd2111a8835044e61caa7 | [] | no_license | YingZiqiang/CMRC2019-Solution | 6882c1fcee899baf8082b3c7018779fe9d70470a | 713c1a08a2ee595704b921db337e8ccac6cdc9b9 | refs/heads/master | 2023-01-09T20:22:10.284365 | 2019-07-02T14:10:51 | 2019-07-02T14:10:51 | 190,866,541 | 3 | 1 | null | 2022-12-21T14:23:30 | 2019-06-08T08:57:21 | Python | UTF-8 | Python | false | false | 522 | py | __version__ = "0.4.0"
from .tokenization import BertTokenizer, BasicTokenizer, WordpieceTokenizer
from .modeling import (BertConfig, BertModel, BertForPreTraining,
BertForMaskedLM, BertForNextSentencePrediction,
BertForSequenceClassification, BertForMultipleChoice,
... | [
"88629850@qq.com"
] | 88629850@qq.com |
a3e2298a9219c9c76fdbe33e87e08bdbcf24fc91 | eddb3c0161a12e612d3070c257610e859e409a8d | /com.leon.ml/logistic/__init__.py | e392d92f72c4440d0906f22ea187026eb4b89f90 | [] | no_license | bazingagain/MLInAction | 942da99cb09200044486a71d7ecbb7285c45af22 | 973df5f3dbc77744ccf4f1b237def4b8ae48f754 | refs/heads/master | 2021-08-31T04:44:05.313045 | 2017-12-20T12:01:35 | 2017-12-20T12:01:35 | 109,850,193 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 31 | py | # Created by leon at 03/12/2017 | [
"1152204424@qq.com"
] | 1152204424@qq.com |
ec9840061a03bfd150d1205cc0924c99f889f02d | 7d4f49bf18b548e40ce0493c9fd4c7c8515ed011 | /api/tests/test_views.py | 66ae3b57711c0eb870e07513bd17b65903538a82 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mobdim/vialer-middleware | 0730ca5d9edf206141abef46cb7d705c04a39906 | f186b05c05f50a00a61c1f9c8ef8b29591c45eee | refs/heads/master | 2021-08-22T06:00:46.502794 | 2017-06-06T07:43:50 | 2017-06-06T07:43:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 22,566 | py | from datetime import datetime, timedelta
import time
from unittest import mock
from django.conf import settings
from django.core.cache import cache
from django.test import TestCase, TransactionTestCase
from rest_framework.test import APIClient
from app.models import App, Device, ResponseLog
from .utils import mocked... | [
"m.vellinga@me.com"
] | m.vellinga@me.com |
efdf39b9dfab765028f936129c07e0ca29c3fd1e | 1c6b25033e27f52ef2723dd743da4cca8807ea7c | /wows_news_twitter.py | df29d80e220c7bc6e3216bd060c4806a91975986 | [
"MIT"
] | permissive | hiraki-uk/wows-news-twitter | 6111bd01616f25481ec379b035a57a03b1eb1a13 | eaca13ed20021b2c79112315d9b10974a6615cbf | refs/heads/master | 2022-12-09T13:16:49.018269 | 2020-02-11T10:49:36 | 2020-02-11T10:49:36 | 213,749,446 | 0 | 0 | MIT | 2022-12-08T03:35:33 | 2019-10-08T20:40:27 | Python | UTF-8 | Python | false | false | 1,002 | py | """
Main python file.
English description is for developers, where Japanese ones will be desplayed to users.
"""
import asyncio
import os
import sys
from pathlib import Path
from dotenv import load_dotenv
from logger import Logger
from tweet_news import Tweet_news
def twitter_setup():
# path to environment vari... | [
"hiraki.uk@gmail.com"
] | hiraki.uk@gmail.com |
91a26161b835aabeba908bf171f25602b115839c | 2e58532464f58b27de68297b0348f0c460448474 | /Assignment_15/cpintor_HW_15/ch17/main.py | 476210dd8cc42923e43bd18f6ed960031540ca99 | [] | no_license | RidaATariq/ITMD_413 | 969a2ebe48746b3269493027daef666bd7a26997 | ee1676419e2a09ce4d52cfca3c3e02f00b24f74f | refs/heads/main | 2023-04-20T19:15:12.864852 | 2021-05-09T18:41:46 | 2021-05-09T18:41:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,346 | py | """
This program demonstrates how to use SQLite3 with Python and how
to work with databases.
Name: Cristian Pintor
"""
import sqlite3
connection = sqlite3.connect('books.db')
import pandas as pd
pd.options.display.max_columns = 10
pd.read_sql('SELECT * FROM authors', connection, index_col=['id'])
pd.read_sql('SELE... | [
"cpintor@hawk.iit.edu"
] | cpintor@hawk.iit.edu |
65fe900208e9fc51b37c1eafd31420a6a244b913 | fa2bcfe157fec22e0771059eac4205c1ecc67dfd | /train.py | c7ae2a3ea5cb1612b4064da0a582b93bb0c35957 | [] | no_license | A-Nuru/Udacity | a539de107e82c3bce4ab55cc09e131774ccd093a | 4bc7184196f01ea190c754237198da3bb371bd6c | refs/heads/master | 2020-04-21T10:23:02.425695 | 2019-04-17T07:39:26 | 2019-04-17T07:39:26 | 169,484,525 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,404 | py |
# Imports here
#%matplotlib inline
#%config InlineBackend.figure_format = 'retina'
import matplotlib.pyplot as plt
import numpy as np
import torch
from torch import nn
from torchvision import datasets, transforms, models
from torch import optim
import torch.nn.functional as F
from PIL import Image
from torch.autog... | [
"noreply@github.com"
] | A-Nuru.noreply@github.com |
26f153d845a72b60f17dd0f6548f21fd4e613a28 | c9ec4dca0bb6b487f09b8f62ce175b303302e4ab | /Python Scripts/TextProcess.py | 2e9bba5119b21394c3e2538810404102d2b6c35f | [] | no_license | dr-jgsmith/orphans | 92c49ec671b62264369a004f2875ba6f0f8224dd | d0dc6c6cfd9515cff8eaa98ea2a5d291368cd077 | refs/heads/master | 2021-01-20T08:06:21.519660 | 2017-05-13T07:14:53 | 2017-05-13T07:14:53 | 90,094,102 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,070 | py | # -*- coding: utf-8 -*-
"""
seed_search
Created on Tue Nov 22 01:10:08 2016
@author: smith
"""
import os
import csv
import requests
import json
import numpy as np
from textblob import TextBlob
import networkx as nx
from bitarray import bitarray
import nltk, re
from gensim import corpora, models, similarities
import sc... | [
"justin.smith@directharvest.io"
] | justin.smith@directharvest.io |
066fe43ee93544352a40330172dc00d56e591351 | e4477741d0f1457a0eb3835766e89c7c39b47c81 | /sandbox_2.py | aba6b6a976390a62ffa5f69dbcf789aab2bb703d | [] | no_license | wtnbKAZUFUMI/imageSimulation | 79a176bd2e26c38d2be86afdf97a144d8b3862b1 | 72cb66ca8fbac186e74d6cfc1bcfa16d9726aac6 | refs/heads/master | 2021-01-19T14:52:34.426100 | 2017-08-25T11:26:41 | 2017-08-25T11:26:41 | 100,933,361 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,091 | py |
import os
import pyfits
import cv2
import matplotlib.pyplot as plt
import numpy
import math
import random
dataset_dir = "../results/convolution/000/longExposure/"
target_number = 971
def loadDataSet(dataset_dir):
dataset_files_list = os.listdir(dataset_dir)
if ".DS_Store" in dataset_files_list:
dataset_files_... | [
"31205208+wtnbKAZUFUMI@users.noreply.github.com"
] | 31205208+wtnbKAZUFUMI@users.noreply.github.com |
f846c2645161849b6c1e7ffa56c7225013e7d047 | 06c06465ef0b7c3e080859bf9c161155349a4d0c | /software/generatore_numeri_causaly.py | ae5f2e2f8c5f2806ce2aeec9366f9be629c1a451 | [] | no_license | Flecart/Olicyber2021 | e296ea54566c7912c939e4e1119b669cd6f37a32 | 3fb161a0ce8ce1c4269aae3290c5588ce621f638 | refs/heads/main | 2023-06-22T12:05:25.184420 | 2021-07-21T09:23:05 | 2021-07-21T09:23:05 | 388,059,404 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,261 | py | #! /usr/bin/env python3
# WRITEUP
# il programma della challenge genera un buffer di valore causale
# il problema e che mi ritorna l' indirizzo del buffer, che devo quindi eseguire
# in qualche modo
# allora io mi carico tutto e per tutti gli indirizzi in cui puo saltare gli mando
# lindirizzo in cui si trova la she... | [
"huangelo02@gmail.com"
] | huangelo02@gmail.com |
16b33380593d3b19adac35f8065445f8e0af71b0 | b55c72bc94c6464a1b4461a3d11051f7dce98cd4 | /source/053.py | 37a6c46efa8ba1390c36fdc1702d16b756abdb8e | [] | no_license | ilkerkesen/euler | d886a53d3df3922e4ddaff6ab9b767e547c0eca2 | b9e54412492cfcee9dbf5a017cf94e5da65ad0d3 | refs/heads/master | 2020-05-21T12:49:31.939194 | 2016-08-14T17:25:17 | 2016-08-14T17:25:17 | 6,717,398 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 469 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from operator import mul
LIMIT = 1000000
def ncr(n, r):
r = min(r, n-r)
if r == 0:
return 1
numer = reduce(mul, range(n, n-r, -1))
denom = reduce(mul, range(1, r+1))
return numer / denom
def main():
result = 0
for n in range(1, 101)... | [
"ilkerksn@gmail.com"
] | ilkerksn@gmail.com |
56283c8a9ba0b97fe7da7b90c3b70341a3176af6 | 56e694eccce264be2d6b789bccaac4cf5326be8e | /cython/demoforroot.py | 1bf9cb0095d843410442f2fc76bc30219c5bf0a8 | [] | no_license | kanouyou/CometQuenchCode- | cddb56b6d6017435afa3183f2ff6d834395c448c | aaa2cb3af3da776eac04be39a537ae51b1beae1d | refs/heads/master | 2020-05-21T16:27:35.639423 | 2017-04-07T09:07:35 | 2017-04-07T09:07:35 | 64,641,031 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,658 | py | #!/usr/bin/env python
import os
import sys
sys.path.append("/home/yeyang/Documents/software/CometQuenchCode-/cython")
import matplotlib.pyplot as plt
import XPostRootLoad as pt
import XPostOutput
import XRootFiles
def usage():
print "usage:"
print " /path/demoforroot -m magnet -g geofile -d datafile"
d... | [
"kanouyou@kune2a.nucl.kyushu-u.ac.jp"
] | kanouyou@kune2a.nucl.kyushu-u.ac.jp |
fede69e240d8da8f2e4e2f83df931bcd50f79606 | 4b12c5460583f445e0a4d8ac1ecc5b245d8ea3e3 | /pms/access/cpd.py | 16773d166da4a15df29705b5418e9e2ef13985fb | [] | no_license | idksoftware/pms | b5fd7fe402785c4ad7586a22822d13310dd0b234 | f5a1bdf6c4febe81b501d1b50b3fdc85029c7be0 | refs/heads/master | 2020-06-25T12:45:07.940784 | 2019-09-12T16:33:44 | 2019-09-12T16:33:44 | 199,311,073 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,196 | py | '''
Created on Jan 28, 2014
@author: wzw7yn
'''
import sqlite3 as lite
import sys
from access.database import Database
from sqlbuilder import SqlSelectBuilder
from sqlbuilder import SqlInsertBuilder
from sqlbuilder import SqlUpdateBuilder
from sqlbuilder import SqlSingleWhereBuilder
class CPDTable(Database):
db... | [
"i.ferguson@idk.co.uk"
] | i.ferguson@idk.co.uk |
e31a886196bc0432da6784ea706d7553fc4bdc56 | cce3c60cab11c5744a7aead41fa62f2d4b4f7624 | /blog/blog/settings.py | 86d7e251dac8932a3fe2369c12d3fabd6c268e97 | [] | no_license | Krushel/latest_blog | 29e00f4f70a2e86a343e74dcc10f0c1be2a1e282 | c9430e5d3b5110e372620ad5b104b600605e855d | refs/heads/main | 2023-03-07T13:28:56.615062 | 2021-02-18T17:24:49 | 2021-02-18T17:24:49 | 340,168,489 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,672 | py | """
Django settings for blog project.
Generated by 'django-admin startproject' using Django 3.1.6.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from pathlib im... | [
"you@example.com"
] | you@example.com |
047b5e5d2ea0b028059c1b2434d27f5f430e8434 | bb7668267448d1895c423566aa575b22274efde2 | /blog/migrations/0006_auto_20171016_2003.py | fa99817019f7a4d9f462cc929f5e7d982d21c365 | [] | no_license | StarfishM/my-first-blog | 1b7dd3931d50d3bd8c7d532180a4f63918bc5023 | 3fdc056fb4870945052356996017b0e374f6374d | refs/heads/master | 2022-12-10T12:24:40.143317 | 2021-10-07T07:59:06 | 2021-10-07T07:59:06 | 94,611,553 | 1 | 0 | null | 2022-11-22T08:48:33 | 2017-06-17T08:45:06 | Python | UTF-8 | Python | false | false | 535 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-10-16 18:03
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0005_auto_20171003_1533'),
]
operations = [
migrations.DeleteModel(... | [
"merle_canada@hotmail.com"
] | merle_canada@hotmail.com |
b9e12fcfc6617d10fd565872dc8e1f110eeda0c9 | f07a42f652f46106dee4749277d41c302e2b7406 | /Data Set/bug-fixing-4/3a3c6d0f9a04487b037a1650614a3ee8ee4f3333-<delete_bgp_enable_other>-bug.py | b2fc202f8d6ad8f8f0834a1cf56ec6ee2eb7ce9a | [] | no_license | wsgan001/PyFPattern | e0fe06341cc5d51b3ad0fe29b84098d140ed54d1 | cc347e32745f99c0cd95e79a18ddacc4574d7faa | refs/heads/main | 2023-08-25T23:48:26.112133 | 2021-10-23T14:11:22 | 2021-10-23T14:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,218 | py | def delete_bgp_enable_other(self, **kwargs):
' delete bgp enable other args '
module = kwargs['module']
conf_str = CE_MERGE_BGP_ENABLE_HEADER
cmds = []
graceful_restart = module.params['graceful_restart']
if (graceful_restart != 'no_use'):
conf_str += ('<gracefulRestart>%s</gracefulResta... | [
"dg1732004@smail.nju.edu.cn"
] | dg1732004@smail.nju.edu.cn |
f74b0d79e2bf2d6c54a8a643b589882dd4d66d2b | 69b93223fc6794123269022a02e5a1dcf130e698 | /33_Search_in_Rotated_Sorted_Array.py | a01f3848cc0f6ca429274d4d6cc6745238e32674 | [] | no_license | GuangyuZheng/leet_code_python | 43b984ce98cc889a7e07151004d347cb03b2d9b2 | 266def94df8245f90ea5b6885fc472470b189e51 | refs/heads/master | 2020-09-05T18:12:07.649374 | 2020-02-22T09:37:59 | 2020-02-22T09:37:59 | 220,177,486 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,504 | py | from typing import List
class Solution:
def search(self, nums: List[int], target: int) -> int:
# find pivot
if len(nums) == 0:
return -1
if nums[0] <= nums[len(nums) - 1]:
pivot = 0
else:
left = 0
right = len(nums) - 1
whi... | [
"583621555@qq.com"
] | 583621555@qq.com |
d2cf5b52e5287415b08b947c096c0b6e4e4c85de | 204454f01c125c4364615f2a6ee80d9a781b2524 | /pyliter/style_book.py | 2b0b92a504be4dd7b2e65440181fd6a660ae6e18 | [
"Apache-2.0"
] | permissive | JnyJny/pyliter | d18e49f607fbd835f8b3b273c8bf1ae7fa57876f | e2e5f170b21c26bed4c3c0b3a83c8fabbc89430f | refs/heads/master | 2021-07-12T02:48:42.440944 | 2021-07-07T16:25:29 | 2021-07-07T16:25:29 | 227,500,321 | 11 | 0 | Apache-2.0 | 2020-01-27T20:13:00 | 2019-12-12T02:10:34 | Python | UTF-8 | Python | false | false | 3,656 | py | """style container
"""
import importlib.resources
import yaml
from pathlib import Path
from webcolors import name_to_rgb, hex_to_rgb
from . import resources
class StyleBook(dict):
""""""
@classmethod
def available_styles(cls) -> list:
"""Return a list of available style books by name."""
... | [
"erik.oshaughnessy@gmail.com"
] | erik.oshaughnessy@gmail.com |
4a3aa025bd2897ef867e95629f701e734f714181 | 3a67c039c6c70d7317bb695212566011ce8f5c5f | /migrations/versions/ee6b7b2e6a16_.py | a162ffc2bda764d510c69f3407cc583388346309 | [] | no_license | joonaojapalo/trackem | 3f7a0376f2e0059aca9c45f1bc4a812252028e9a | 8ae80f1b1045195f4ae9a31cf9c802b4eda6e684 | refs/heads/master | 2020-05-05T12:05:43.447284 | 2019-04-07T19:41:57 | 2019-04-07T19:41:57 | 180,013,875 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 863 | py | """empty message
Revision ID: ee6b7b2e6a16
Revises: 28f62b6e1f24
Create Date: 2016-03-01 11:46:58.147000
"""
# revision identifiers, used by Alembic.
revision = 'ee6b7b2e6a16'
down_revision = '28f62b6e1f24'
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects.postgresql import ENUM
# enum type
... | [
"joona_ojapalo@hotmail.com"
] | joona_ojapalo@hotmail.com |
b45cb7f4d47b76c54fca5a37745168c87224cc22 | 2a9f992afa89b3afbc8e838acebba662833da409 | /Assignment 1/a1test.py | 4ac250f72df09e8e2c5d1825188475f03e9e73cc | [] | no_license | simrit1/cs1110_python | 67fe5fc79d28c3dbdc5990be960153225a144d50 | d39f52eddc4eb60153f738761fc2210e72f60326 | refs/heads/master | 2022-09-05T05:44:23.431343 | 2020-05-26T04:33:29 | 2020-05-26T04:33:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 446 | py | # Test a1
# Caitlin Stanton (cs968), Andrew Denkewicz(ajd248)
# 09/10/2016
"""Unit test for module a1
When run as a script, this module invokes several procedures that
test the various functions in the module a1."""
import cornelltest
import a1
def testA():
s="125 dollars"
assert_equals("125", before_space(s))
... | [
"caitlinstanton44@gmail.com"
] | caitlinstanton44@gmail.com |
cabbd058d2288ed0cdd37e5cf0eaacab14b38ae4 | 92500c3acff59c68d5d30f47ec86d73c6fc5b69a | /zabbix_api/zabbix_report.py | 54ec3d3addac13b4f56dcb35cb4d7724739ad2f2 | [] | no_license | Fangzhongpeng/zabbix_api | 68b4ee46aab75ea6de1c6b338a9e8dfd2b00239c | 990ea43c4c1bccd044daae11da8c36864f9cc489 | refs/heads/master | 2023-06-25T01:23:02.145174 | 2023-06-08T03:30:43 | 2023-06-08T03:30:43 | 299,521,967 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,195 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
import json
import urllib2
from urllib2 import URLError
import sys
import zabbix_sendmail
import sys
import datetime
reload(sys)
sys.setdefaultencoding('utf8')
# 接收人
mailtolist = ['fangzhongpeng9@163.com','fangzhongpeng@iqingka.com' ]
# 格式:zabbix地址,zabbix帐号,zabbix密码,邮件标题
zabbix... | [
"word2613182"
] | word2613182 |
a87cf0bc64e224cf6d7d8dda11b39a858f0c6e54 | 0366bccae8841bbf6ecaad70660aae89bb0f6394 | /36_Custom_Modules_4/main.py | 0933dd8cf05ff7f965edf197604b58d88ec52085 | [] | no_license | KobiShashs/Python | 8a5bdddcaef84b455795c5393cbacee5967493f7 | e748973ad0b3e12c5fb87648783531783282832a | refs/heads/master | 2021-04-05T20:18:57.715805 | 2020-04-02T21:51:44 | 2020-04-02T21:51:44 | 248,597,057 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 185 | py | from file1 import GreetingCard
from file2 import BirthdayCard
card1 = GreetingCard("Kobi","Luther")
card1.greeting_msg()
card2 = BirthdayCard("Kobi","Luther",32)
card2.greeting_msg() | [
"kobi.shasha@gmail.com"
] | kobi.shasha@gmail.com |
080dd226f6ad8c2b5c5bbe796a14e817b05abc0d | 89b2b89d224066b5cd69cfbc38653aff5d6cccdd | /poke_api/poke_api/settings.py | a587be7cd2523af38fc6de621676564f21563b9b | [] | no_license | BashayerNouri/Poke-API | 9e575e90d6af857038dd7fb3854c5549f316af88 | 3f30705a8beef22d7843f65c186b438f0df52ab0 | refs/heads/master | 2022-12-10T14:36:22.129351 | 2019-09-02T06:33:07 | 2019-09-02T06:33:07 | 205,728,570 | 0 | 0 | null | 2022-12-08T06:06:30 | 2019-09-01T20:26:41 | Python | UTF-8 | Python | false | false | 3,154 | py | """
Django settings for poke_api project.
Generated by 'django-admin startproject' using Django 2.2.4.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
... | [
"bashayer_nouri@hotmail.com"
] | bashayer_nouri@hotmail.com |
c06a081f81eecfc07a2cb414e768125e7fd4ef48 | 8bcb2fe177067a506cb841f110a837a2607eb9ef | /lox/ast_printer.py | 6f818e0314db3a1edd4a274c2c382fe25b2aaeec | [] | no_license | faheywf/pylox | efd7c0979bcea8b062476d9255a60d80781821f3 | 2db7fc4fdeeac4f3cd7d075b04c8b485e865d189 | refs/heads/main | 2023-07-19T04:19:53.598152 | 2021-09-04T23:02:45 | 2021-09-04T23:02:45 | 398,118,193 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,112 | py | from stmt import Block, Expression, Function, If, Print, Return, Stmt, StmtVisitor, Var, While
from typing import List
import attr
from expr import Assign, Binary, Call, Expr, Grouping, Literal, Unary, ExprVisitor, Variable
from token_type import TokenType
from tokens import Token
@attr.s(auto_attribs=True)
class Ast... | [
"billy.fahey@gmail.com"
] | billy.fahey@gmail.com |
76b6672f2d8c535fc1f83b0fa31a696341394d51 | 8ad4b4cc8350bf06a7a7678a9fd84b3d00343477 | /mininet/network.py | c95564c01da41bc4640c9e7a11e51fc6231353cd | [] | no_license | jwchae8/SimpleFirewall | 23b333f86d887215a3ddd7d6c6b3f2010c5d8669 | 28942435bb1d7a0c90ecef780366c142a8711cde | refs/heads/master | 2021-01-09T20:11:41.909429 | 2016-06-02T08:18:58 | 2016-06-02T08:18:58 | 60,243,307 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,259 | py | #!/usr/bin/python
from mininet.net import Mininet
from mininet.node import Controller, RemoteController
from mininet.log import setLogLevel, info
from mininet.cli import CLI
from mininet.topo import Topo
from mininet.util import quietRun
from mininet.moduledeps import pathCheck
from sys import exit
import os.path
fro... | [
"jwchae8@gmail.com"
] | jwchae8@gmail.com |
542aea55b7afd47bdb2ee32372b63431f97c8ebd | 9b54e3d58447e917a238b85891020c392c4ac601 | /acmicpc/2667/2667-dfs.py | 7569bf3af48efbd51118eef2cec76fb0ad56d8d9 | [
"MIT"
] | permissive | love-adela/algorithm-ps | ea0ebcd641a4c309348b389b8618daa83973f4b2 | c92d105d8ad344def001160367115ecf99d81c0d | refs/heads/master | 2023-05-11T03:37:11.750692 | 2023-04-30T17:31:30 | 2023-04-30T17:31:30 | 174,651,672 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 642 | py | import sys
read = lambda: sys.stdin.readline().strip()
def dfs(matrix, x, y, count):
matrix[x][y] = 0
dx = [1, -1, 0, 0]
dy = [0, 0, 1, -1]
for i in range(4):
n_x = x + dx[i]
n_y = y + dy[i]
if n_x >=0 and n_x < n and n_y >= 0 and n_y<n:
if matrix[n_x][n_y] == 1:
... | [
"love.adelar@gmail.com"
] | love.adelar@gmail.com |
36c6a66118d1c67951248699e65272be8aed77c5 | ddb3656fbacef606ac3cfa53eb74a99be90202cd | /selfdrive/manager/test/test_manager.py | d16a145031df086ac7a79be39e1103c2b3f66f40 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | ErichMoraga/openpilot | f70b353099d3643c9f8d16fb8003811418c95656 | 2f73be29651e34e62eaf18472f9219cea57c177a | refs/heads/812 | 2023-08-02T16:58:57.870050 | 2023-07-20T17:33:41 | 2023-07-20T17:33:41 | 140,953,335 | 58 | 77 | MIT | 2023-07-30T15:33:18 | 2018-07-14T14:41:16 | C | UTF-8 | Python | false | false | 2,019 | py | #!/usr/bin/env python3
import os
import signal
import time
import unittest
import selfdrive.manager.manager as manager
from selfdrive.hardware import EON, TICI, HARDWARE
from selfdrive.manager.process import DaemonProcess
from selfdrive.manager.process_config import managed_processes
os.environ['FAKEUPLOAD'] = "1"
#... | [
"user@comma.ai"
] | user@comma.ai |
bbc1a65be81c8caa800af962fadf22eb932c5f5a | 8387016f05a5b05eec3635800265e1e3bdbd8d14 | /scripts/getAccount.py | c637d2f93ff04b8c806a4ab8aaae659e9ed224f2 | [] | no_license | zbcoding/eth-rock-paper-scissors | 8e37369ce8eb4413714165bce88936c6355162ec | 1234080496b8b9ad96c003e5da70994826964cfa | refs/heads/master | 2023-06-30T11:34:07.754380 | 2021-07-29T03:20:33 | 2021-07-29T03:20:33 | 389,856,441 | 0 | 0 | null | 2021-07-28T04:21:38 | 2021-07-27T05:11:36 | Solidity | UTF-8 | Python | false | false | 533 | py | from brownie import accounts, config, network
LOCAL_BLOCKCHAIN_ENVIRONMENTS =\
[
"mainnet-fork",
"binance-fork",
"matic-fork",
"development",
"ganache",
"hardhat",
]
def get_account(index=None, id=None):
if index:
return accounts[index]
if network.show_active() in LOCAL_BLOCKCHAI... | [
"uszagb@gmail.com"
] | uszagb@gmail.com |
32e7dcd514ef5655eeb8122a23a32cd7536044b4 | aee3a24b46ec5a3c994f797d010888a4fac4fb14 | /tk1/rosdji_sdk/build/Onboard-SDK-ROS-3.1/dji_sdk_read_cam/catkin_generated/pkg.develspace.context.pc.py | 326a8aec68aa3e1f86849a839e0c87bbd5a08705 | [] | no_license | raj-chinagundi/UAV_Detection_And_Tracking_System | 5a9b94fa299dd0461fa88745e2851675d2484331 | 76fa91a79f2ce9bd0d5e76edc7ef9e407f826d28 | refs/heads/master | 2022-11-17T13:20:33.190025 | 2018-05-19T00:17:10 | 2018-05-19T00:17:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 382 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "dji_sdk_read_cam"
PROJECT_SPACE_DIR =... | [
"amosliu19931003@gmail.com"
] | amosliu19931003@gmail.com |
eda73bba7d9036a00f9545a91aef07d96c8bece0 | 6fe8cf62f157672715fae94af6cfae08432d826d | /word_game.py | a0e950b51dfba95ad5a480f8d4927a8f7ad86d40 | [] | no_license | monergeim/python | 20c7268d5edf397c329532f61d759c6fc342ead6 | 2c504fca506a0c38b3b69f48d0e211bb5479ab9d | refs/heads/master | 2021-06-24T23:04:09.295166 | 2021-03-22T21:52:54 | 2021-03-22T21:52:54 | 185,149,021 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,079 | py | def playHand(hand, wordList, n):
tscore = 0
updhand = hand.copy()
while calculateHandlen(updhand) > 0:
print "Current Hand: ",
for key in updhand:
if updhand[key] > 0:
for c in range(updhand[key]):
print key,
i = raw_input("\nEnter word... | [
"noreply@github.com"
] | monergeim.noreply@github.com |
c1b0f7f28604c6d4a41be1979fa72c9cea282093 | 1174123ceab7ac68368e45fbcae7059a8ad34d6a | /tornado_strong/conf/baseConf.py | 3a22a6fab24585819fb19d67d5e36a7cb16d1073 | [] | no_license | sushe2111/strong | a3a72f109adfc765ec1611903f7ad4cc0e3c88be | db9b0c243612c38fd99bccce289d190e5fbc8cb3 | refs/heads/master | 2020-03-25T07:59:12.279495 | 2018-08-13T13:50:18 | 2018-08-13T13:50:18 | 143,591,993 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 295 | py | ListenConf = { "host":"10.5.173.248",
"port":8001 }
DatabaseConf = { "host":"127.0.0.1",
"port":3366,
"user":"root",
"password":"123456",
"dbName":"strong" }
TemplatePath = "resource/template"
StaticPath = "resource/static"
| [
"sushe2111@163.com"
] | sushe2111@163.com |
d41b5616d60c9b00c657ff8693c25553ab9bcc51 | 1ec842f6d220f2c93fcec1cddd5ecf9e1e00880b | /problems/capture_test.py | d04fb75c6195df9026f0def62f48c196fe86563d | [] | no_license | icmeyer/dahlia | 474a61212b10875d3a88aaeec850b38582c4a0b3 | f469c5f2508adae2494bdc72dd4cd9b8a5292cb8 | refs/heads/master | 2020-04-27T15:35:46.913747 | 2019-04-02T03:32:06 | 2019-04-02T03:32:06 | 174,452,258 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 395 | py | import numpy as np
import sys; sys.path.append('..')
from main import main_function
from plotting import concentration_plot
isotopes = ['922390', '932390', '942390' ]
conc = np.array([1, 1, 1])
flux = 0
years = 2/365
steps = 80
reactor_type = 'fast'
conc_over_time = main_function(isotopes, conc, flux, reactor_type, y... | [
"icmeyer@mit.edu"
] | icmeyer@mit.edu |
e9b489fbe7bcefc73ede80c24b77411fb4f7420a | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03074/s376018744.py | 6c1333af062b79293eb7a34cac4974521523f39a | [] | 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 | 1,281 | py | """
keyword: 累積和
"""
import sys
sys.setrecursionlimit(10**6)
n, k = map(int, input().split())
s = input()
nums = []
now = 1 # 今見ている数
cnt = 0 # nowがいくつ並んでいるか
for i in range(n):
if s[i] == str(now):
cnt += 1
else:
nums.append(cnt)
now ^= 1 # 0と1を切り替える
cnt = 1 # 新しいのをカウント
if cnt... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
879e52dfed4ab37d1d10a4a98b12823d8d3bea69 | 6ae69280ab321bf0216b898c8ff163b56ffb56b8 | /venv/Scripts/easy_install-3.6-script.py | 9f89ae8d15b482a705245dea236dc4a3a1ef6071 | [] | no_license | jvdbatista/Calculadora-Declarativa | e3894072d630b877bd94d50d8701c2f83955e9f0 | 41096b05030fe9192df10cbfabcc03b4d02b0297 | refs/heads/master | 2020-03-27T06:37:58.298370 | 2018-08-25T19:00:59 | 2018-08-25T19:00:59 | 146,121,779 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 454 | py | #!C:\Users\jvdba\Desktop\pd\Trabalho\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6'
__requires__ = 'setuptools==39.1.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.... | [
"joaodantas@softeam.com.br"
] | joaodantas@softeam.com.br |
a7e8dc33edeab6c5b14100dc09c22b6a3a0672df | 6722285224d01a5715dded488a20fdffad0e6bed | /algo/084_Largest_Rectangle_In_Histogram/Q084.py | cdcd7085993d4b9b55c99503d0547d99fcad2764 | [] | no_license | dionwang88/lc1 | 0ce1b82e7884ea7d5236e89994785cbd44afb9d5 | 54191d08bc42e5b1d403246a7486fca69d9ae30b | refs/heads/master | 2021-07-08T11:39:49.028652 | 2017-09-28T00:02:21 | 2017-09-28T00:02:21 | 105,079,961 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,983 | py | class Solution(object):
def largestRectangleArea(self, heights):
"""
:type heights: List[int]
:rtype: int
brute force solution
"""
if not heights:
return 0
if len(heights) == 1:
return heights[0]
localMax, globalMax = heights[0... | [
"qwang8@ebay.com"
] | qwang8@ebay.com |
cc816476b8edf8aced316ed2ed77aaffef1ab329 | 792f0bb391d9d8a612908598131a980d5a5a8698 | /chapter8 additional 4.py | 04ca9eb464739e77d2ca30b09b50e2ea098a7695 | [] | no_license | Dr-Waffle19/CIS1415 | ccbb7d0ea81e8cce2531a6596c660764b285c879 | 43f243208b1d7953a7c38b4e6dd10d95c52a0588 | refs/heads/master | 2020-03-29T15:05:07.623195 | 2018-11-14T04:04:10 | 2018-11-14T04:04:10 | 150,043,501 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,218 | py | Student_grade = {
'Jimoh Olu': {
'test_labwork_homeworks': [87, 91, 68],
'Midterm': 80,
'Final': 91
},
'Taju Kulu': {
'test_labwork_homeworks': [99, 78.25],
'Midterm': 87,
'Final': 75
},
'Bunmi Ojo': {
'test_labwork_homeworks': [98.... | [
"noreply@github.com"
] | Dr-Waffle19.noreply@github.com |
5d306e2738144841d68830c40dc1f04facfda53c | 4a56b5b738a88b04ff126f1dab8ff4c7baa128c1 | /61/61.py | 999374082e00ebb65cbbc3189a6338386e803fcc | [
"Unlicense"
] | permissive | vladcto/ACMP_Answers | ff6c7ba17833e33ad4bd5a97e494fef81f09751f | bc163068d7b27c5241f995da3f58a1f8c623d460 | refs/heads/master | 2022-06-16T21:15:43.026138 | 2022-06-06T18:53:29 | 2022-06-06T18:53:29 | 239,358,048 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 265 | py | score = 0 # Перевес очков в какую-то команду
for i in range(0,4):
inp = input().split(" ")
score+=int(inp[0])
score-=int(inp[1])
if score==0:
print("DRAW")
else:
if score>0:
print(1)
else:
print(2)
| [
"razrab.ytka@gmail.com"
] | razrab.ytka@gmail.com |
4137b4b2fb73ef4a4cd1062ff1efe5241f4b7b91 | c5393c8558bf819bf9883583e464c364156a3cd5 | /samples/demo.py | c0686b021efa779b2f8d04bc74651e347f063f99 | [
"MIT"
] | permissive | a13544835729/Mask_RCNN | ec839e4761a628bb188f307e809e4a58ae4afd0b | c1170dc4a69b75465bd9ee14e08112e5c21431de | refs/heads/master | 2023-07-10T22:56:00.714114 | 2021-08-23T12:00:31 | 2021-08-23T12:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,057 | py | #!/usr/bin/env python
# coding: utf-8
# # Mask R-CNN Demo
#
# A quick intro to using the pre-trained model to detect and segment objects.
# In[1]:
import os
import sys
import random
import math
import numpy as np
import skimage.io
import matplotlib
import matplotlib.pyplot as plt
# Root directory of the project
R... | [
"issaclin32@gmail.com"
] | issaclin32@gmail.com |
1ab67da7a68a8a067bf849928740d2d0ebfd5c08 | 056d971ce27d505ab3c8905dcbd120556944b64b | /backend/scrapebookmain/manage.py | 03490de307efc043f71bd342b45f25e0e9b3b693 | [] | no_license | karan8891/Capstone | d9177e894a43a863d66792fd586ec02eb475aee4 | 88ccdab1cdf0366aba236776391ac7a9d6625fe3 | refs/heads/master | 2023-01-07T15:03:40.930225 | 2020-07-11T01:07:21 | 2020-07-11T01:07:21 | 238,735,127 | 0 | 0 | null | 2023-01-07T14:49:44 | 2020-02-06T16:38:16 | TypeScript | UTF-8 | Python | false | false | 630 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'scrapebook.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise Imp... | [
"55722488+karan8891@users.noreply.github.com"
] | 55722488+karan8891@users.noreply.github.com |
f2f47e2eae79b2c3ca8681c79deb4f957d42216c | 80c6e6e940af2c4e5ad7e4c2585a0fa017a487e7 | /ru/tts1/local/clean_text.py | 1eb93604f091dc184344e59543936f69517955db | [] | no_license | d18n/ru-tts | ce4ce8f3e7d2d41f6bfa151a7223814ea2664a3b | 6ac369249dae739b57f04778d6a6568fa238c7aa | refs/heads/master | 2022-07-01T21:23:13.218917 | 2020-05-11T13:26:28 | 2020-05-11T13:26:28 | 261,098,303 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 797 | py | #!/user/bin/env python3
import os
import argparse
import codecs
from pathlib import Path
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("in_text", type=str, help="text to be cleaned")
parser.add_argument("out_text", type=str, help="text to be cleaned")
args = par... | [
"dev.18n@gmail.com"
] | dev.18n@gmail.com |
77b8f2f2c93064c713fc795f1d1bc59e6d4955aa | 002f1d50850e9df9ba2c12a498ae03f8b6c563d7 | /setup.py | de63746d0d3511852b9f902b2857f9d7e52cbdfe | [
"MIT"
] | permissive | aman2457/Linked_List | 0edf1f0e49eefc0636e1f24f3cc6cabffc205b19 | d85001b80b4c23d1bae3379a5173fd5ca061380d | refs/heads/master | 2023-04-15T05:35:33.548195 | 2021-04-23T05:21:55 | 2021-04-23T05:21:55 | 360,039,284 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,193 | py | from setuptools import setup
def readme():
with open('README.md') as f:
README = f.read()
return README
setup(
name = "py_linked_list",
version = "0.0.1",
description = "A Python package which contains some methods to manipulate a linked List.",
long_description = readme(),
long_d... | [
"amankumar84349@gmail.com"
] | amankumar84349@gmail.com |
1c041b692291128038daa8cc0598ddf1f15b71e7 | 980c922e73579202445a03219c7c04c393c30c78 | /视频演示代码/test/demo_face_recognize.py | ec8c23a8581f73c4debc10abd0491e3f3a4b4bf8 | [] | no_license | Yorkzhang19961122/HCI-system-for-ASD | 5a186c5fbfe0b58712df862362d09f150dac6496 | 16dea0b4ae3ececbf55819b408f3e0df3a6697e6 | refs/heads/main | 2023-03-27T08:16:30.492543 | 2021-03-11T06:23:03 | 2021-03-11T06:23:03 | 346,596,270 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,076 | py | import asyncio
from mini.apis.api_observe import ObserveFaceRecognise
from mini.apis.api_sound import PlayTTS
from mini.dns.dns_browser import WiFiDevice
from mini.pb2.codemao_facerecognisetask_pb2 import FaceRecogniseTaskResponse
from test_connect import test_connect, shutdown
from test_connect import test_get_device... | [
"15257379410@163.com"
] | 15257379410@163.com |
d2cc35b1df23ef29af004eb261a814821550e415 | 2b3fffed97ce27798cfbca24d1fb2fd6e278f3e0 | /start.py | 5449d7b3cc7efe9761e719464518380ffcc59beb | [] | no_license | sofiered/vk-dicebot-lina | c6af83b3dcf8b87ab087f5cd2d6a435a9b0689dd | ff94294346809354e25fc8c9b8525e730092ef88 | refs/heads/master | 2021-05-11T09:44:19.082527 | 2018-09-04T13:57:46 | 2018-09-04T13:57:46 | 118,085,568 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,805 | py | import asyncio
from app.bot import Bot2
import random
import re
import functools
import os
from itertools import chain
loop = asyncio.get_event_loop()
dice_regexp = r'(\d+)[d|д|к](\d+)\s*([\+|-]\d+)?'
interval_regexp = r'от\s*(\d+)\s*до\s*(\d+)?'
bot_names = ('бот', 'лина', 'народ')
peachy_ids = range(49,97)
rumka_... | [
"p.tihachev@uiscom.ru"
] | p.tihachev@uiscom.ru |
dbfc227659f42dc45de529130cd75d359d724e08 | 02a6085953bc002baa44fd43e7ba29f92fd787c7 | /books/settings.py | d86cc98cef9e4bfc65a54a9bdfec0571d7f903e6 | [] | no_license | dzmitry-babak-idf/spd-book | cbab520af986aa3acccb5690f63c116cf3591788 | e6ab073d23b0152174d032625ce87356a86fa167 | refs/heads/master | 2023-01-07T01:31:56.471204 | 2020-10-30T13:20:35 | 2020-10-30T13:20:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,078 | py | """
Django settings for books project.
Generated by 'django-admin startproject' using Django 3.1.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from pathlib imp... | [
"alexgott1990@gmail.com"
] | alexgott1990@gmail.com |
cb16b3fbbd81a6f0cb29a42504cccd16bf61955e | e10422c540b3199cc5663c1c226ae2b8f24fd5cf | /Results/__init__.py | 36b8f9b1f825122a4c1052ad476813c4f6cc63ab | [] | no_license | cccccsf/single_point | f014a9f0a18eb30ddd4a967a822eba3bd26ed53a | 61cc11b0c40e082b45c5458c8435dbea001af466 | refs/heads/master | 2020-05-09T10:10:05.035435 | 2019-05-07T12:44:30 | 2019-05-07T12:44:30 | 181,030,692 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | #!/usr/bin/python3
from Results.results import results
from Results.calculation import get_extrapolated_correction
from Results.class_result import Result
| [
"cccccsf@hotmail.com"
] | cccccsf@hotmail.com |
9e5456d6b76c0bd071eb86f99e5e3f7dd0882a2e | fb79dc795666de2f5ae28c9393403d8972bf181d | /santdex/Basic_button.py | 92e6f7bcf45728ba0220459b70be783a454b82e4 | [] | no_license | paulossant/QtPy | 2a99141a173d845b4a110af159f2284472873c68 | dfebbc8e389725a1d9a9fe0896450db4e4612756 | refs/heads/master | 2022-02-16T17:10:56.818156 | 2019-09-01T09:45:13 | 2019-09-01T09:45:13 | 198,267,267 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,070 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Jul 27 14:46:01 2019
@author: pssantos
"""
import sys
from PyQt5 import QtWidgets, QtGui, QtCore
class Window(QtWidgets.QMainWindow):
def __init__(self):
super().__init__()
self.initUI()
def initUI(self):... | [
"noreply@github.com"
] | paulossant.noreply@github.com |
1fea2857dcc9af90fdf162402607c141fca68c60 | bd97707bef0e13e40916c623503bcdabe677a55b | /view/o_token.py | 03ecae9fcc9dee9b608821ae0b7d2befe7e85e9f | [] | no_license | IvyBrandyn/tic-tac-toe | eaf1c547b739edc2fa9a44132555e1f87abb86cb | 4f7182e5981d63288a7809ec8817097c16dd8a38 | refs/heads/master | 2023-05-14T16:10:43.752468 | 2021-06-01T20:08:53 | 2021-06-01T20:08:53 | 324,673,284 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 423 | py | from view.token_piece import TokenPiece
class OToken(TokenPiece):
def draw_token(self, line: int) -> str:
if line == 0:
return r" //==\\ "
elif line == 1:
return " || || "
elif line == 2:
return r" \\==// "
def __str__(self):
... | [
"brandynsandoval@gmail.com"
] | brandynsandoval@gmail.com |
75d4ea1cf87452918b95075d0138a33e121d8174 | 60c24a2191923393a7c3916d46fb537d39de3952 | /main.py | ea18b38df1429d2e925c2e8a5542d862780cad98 | [] | no_license | mylo19/Advanced_Signal_Processing | a752f020678b8618038c19a25067832f0e8f46fb | 930f633c7774d1146c46cbfef766dfc825782369 | refs/heads/main | 2023-04-04T06:50:49.696387 | 2021-04-13T17:33:17 | 2021-04-13T17:33:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 717 | py | from Indirect_Method_Functions import *
import math
lamda1 = 0.12
lamda2 = 0.3
lamda3 = lamda1 + lamda2
lamda4 = 0.19
lamda5 = 0.17
lamda6 = lamda4 + lamda5
lamda = np.array([lamda1, lamda2, lamda3, lamda4, lamda5, lamda6])
N: int = 8192
K = 32
M = 256
L = 64
X = [0]*N
for k in range(N):
phi = np.random.uniform... | [
"mylowade98@gmail.com"
] | mylowade98@gmail.com |
937713858c166adde7bccaca7cff6d4be55d0b99 | f6c7084f91434566a9aa1b821d2739edede036f8 | /ReadFileLineByLine/venv/Scripts/pip-script.py | adf8211b1eadc9e26f6daea7d86b6b5d26d11112 | [] | no_license | GANESH0080/Python-WorkPlace | 87fc3776e693d254661c476bfe977c696d087276 | 43196086bee26cbeae25fb7bbacb8dbbde85d648 | refs/heads/master | 2020-09-20T03:45:13.824696 | 2019-11-27T07:27:17 | 2019-11-27T07:27:17 | 224,369,263 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 410 | py | #!D:\PythonWorkPlace\ReadFileLineByLine\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip'
__requires__ = 'pip==10.0.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]... | [
"ganusalunkhe@gmail.com"
] | ganusalunkhe@gmail.com |
f8f4cf02fcea381bb1fa2612b29951a3d0b866ec | 2e5304a5801c81241dfe2998d5a182e1c0cdcab3 | /scramble.py | 798a775504441a2b8ca052145242eec1ea1d1a10 | [] | no_license | jamcowl/TextScramblers | eead7410d8d0734750dd5c92a3984b6afb98421e | d6a20aa2bad37418f953da8efa2d02e1e9c2d7b4 | refs/heads/master | 2021-01-20T06:33:01.380472 | 2017-10-28T00:08:39 | 2017-10-28T00:08:39 | 101,504,863 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 713 | py | #!/usr/bin/env python
from random import shuffle
import sys
# function to scramble a word
def scramble(inString):
result = inString[0]
innards = list(inString[1:-1])
if len(inString) == 1:
return inString
# construct output
while(True):
shuffle(innards)
result = inString[0]
for innard in innards:
re... | [
"james_cowley@live.co.uk"
] | james_cowley@live.co.uk |
b901c321019e6ddbc08ebea4429f826b3269e9ab | 0669ea772b4a813c147b4884df609ab6c0fc8f44 | /gpsnprototypewebsite/about/urls.py | 9d697deac94a224e457b022510617cdfaf3dc56a | [] | no_license | PurdueCAM2Project/CAM2Phenology | dc01167aa61785cfa7fc3827016b69e2846d0d6b | b10e9f10ce21effcf0ca6cad05c90f3b67a83b98 | refs/heads/master | 2021-09-13T01:59:52.323084 | 2018-04-23T18:10:05 | 2018-04-23T18:10:05 | 103,655,290 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 583 | py | from django.conf.urls import url #imports necessary stuff to handle URL confs and such
from . import views #get the views from the folder that you're in
urlpatterns = [
url(r'^$', views.about, name = 'about'),
url(r'^contact/$', views.contact, name = 'contact'), # needs to be synced with Support Contact
u... | [
"berry65@purdue.edu"
] | berry65@purdue.edu |
e40affec22a2a7089ad6a4f67068270232f077c7 | ba315c4a0512f84f77f2c785dbe54160b006919c | /dragonflow/neutron/services/sfc/driver.py | 5409c3cd83bb3e87b27a37cd35e89429e3dffc9e | [
"Apache-2.0"
] | permissive | Benny93/dragonflow | f1a1808cc065d504293d350023b80a481d9c81de | fbb15e221f8ce2bf6a4bb6d66635dde9ebb13131 | refs/heads/master | 2021-01-22T04:04:53.612529 | 2017-10-20T12:27:34 | 2017-10-20T12:27:34 | 102,262,082 | 1 | 0 | null | 2017-09-03T12:13:06 | 2017-09-03T12:13:06 | null | UTF-8 | Python | false | false | 5,491 | py | # 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, software
# d... | [
"dima.kuznetsov@toganetworks.com"
] | dima.kuznetsov@toganetworks.com |
9f30f719cd8bd8fc273306508cc8ca3498564099 | 90a2b8961ac18e2130887e4c1fbe875dea490fdd | /03-Methods and Functions/spy_game.py | 321642e9c61e4161e6643d8bcb79e9d51a5b0e9c | [] | no_license | paperbag-zz/python-exercises | 3adb13128b9b5abf55cec4e9e0d349f5b7832bfb | e59c487497fb42dd4dae4c9f823969aaec819d1c | refs/heads/master | 2020-04-01T18:49:24.322885 | 2018-10-24T05:05:50 | 2018-10-24T05:05:50 | 153,516,809 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,036 | py | def spy_game(numbers):
spy_caught = ['', '', '']
for number in numbers:
if spy_caught == ['', '', ''] and number == 0:
spy_caught = ['0', '', '']
if spy_caught == ['0', '', ''] and number == 0:
spy_caught = ['0', '0', '']
if spy_caught == ['0', '0', ''] and numbe... | [
"paperbag.a@gmail.com"
] | paperbag.a@gmail.com |
0d8a2556c00cf0f1fd3764e071685a6426465736 | e32154b11d9307855bfa3a28fd5ef909e6ea7fca | /Api/src/phedexApi.py | 75550461844d760101a94239343901f257f1348e | [
"MIT"
] | permissive | cpausmit/IntelROCCS | c5947cb038e338f7bcdf8f3d4d203b45ae0df670 | 526672963452ed33706468ea2dc6fb63510d9090 | refs/heads/master | 2020-04-15T17:28:04.978006 | 2017-03-24T12:17:01 | 2017-03-24T12:17:01 | 17,555,528 | 1 | 4 | null | null | null | null | UTF-8 | Python | false | false | 14,841 | py | #!/usr/local/bin/python
#---------------------------------------------------------------------------------------------------
# Python interface to access PhEDEx online API. See website for API documentation
# (https://cmsweb.cern.ch/phedex/datasvc/doc)
#
# Use grid-proxy-init to aquire a valid CERN proxy, proxy's are o... | [
"barrefors@gmail.com"
] | barrefors@gmail.com |
8df22946d8253c3054208e5f4da0156f41eb2a38 | 19e9e3d063dc93206b4cc60bda006bb0da97d37c | /cmi/nwd_dzielenie.py | 15b5bd712fd707f26941c47016d72c877c932476 | [] | no_license | jasonj2333/python8 | 9825e565a805cd8edf1446bd08a21b1c43eab6a2 | abe1f7b6641b08ce430c86874b182cf1911baf5d | refs/heads/master | 2022-01-30T09:26:27.805311 | 2022-01-25T20:53:40 | 2022-01-25T20:53:40 | 225,360,380 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 215 | py | #zadanie 8 - parzyste
a = int(input("Podaj 1 liczbę: "))
b = int(input("Podaj 2 liczbę: "))
c=a
d=b
while(b != 0):
dzielnik = b
b = a%b
a = dzielnik
print("NWD dla liczb %d i %d wynosi %d"%(c, d, a))
| [
"jasonj2333@gmail.com"
] | jasonj2333@gmail.com |
dea277b6068f695ff986b4f15598ba361d0f8ffb | 668dc0eb4e76c3cb1e568c4568fec80e493c8379 | /imageClassifier/uploadImages/migrations/0002_auto_20180328_1839.py | 8c12973445ce6906c3039627f20d6f1da8653b65 | [] | no_license | 6Jonathan6/imageClassifier | e9680e4e8d7d8972bef9da4c558d36343ab2e648 | af870d6ad496274374d4a163e626c297391b68ec | refs/heads/master | 2020-03-08T13:06:33.012179 | 2018-04-05T02:42:51 | 2018-04-05T02:42:51 | 128,149,146 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 432 | py | # Generated by Django 2.0.2 on 2018-03-28 18:39
import django.contrib.postgres.fields.jsonb
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('uploadImages', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='image',
... | [
"ec2-user@ip-172-31-56-157.ec2.internal"
] | ec2-user@ip-172-31-56-157.ec2.internal |
b3a25a16c44a7880c5d114a9d24cd90fce6c7cab | 229662997dbef8f1694cec4e365704f91435895a | /app.py | 9038671409e93fbb85c41c1aa47fbaccb8f8e5ec | [] | no_license | artwrk-samyak/dynamo | 4185c83bacef01dbef82d606f2c6c98d769d3b0b | fff802655e3c5867630e35b09426c5448835b557 | refs/heads/master | 2022-10-13T21:17:30.513614 | 2020-06-14T14:38:43 | 2020-06-14T14:38:43 | 272,220,334 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 502 | py | import boto3
def get_details(table):
client = boto3.client('dynamodb') #connection
response = str(client.describe_table(TableName=table))
print(response)
def put_value(table):
dynamodb = boto3.resource('dynamodb') #connection
response = dynamodb.Table(table).put_item(
... | [
"noreply@github.com"
] | artwrk-samyak.noreply@github.com |
10cb9577b9bb3df887a10d040a16bb298fd3def5 | 5918f9231b8e7403907b19f863bb4fa59f468cf6 | /hotstar_dl.py | ecd153b252cf3484fabf0aab6697f4a3277455f2 | [] | no_license | venkatasudheers1234/hotstar-dl | f1918f203f954ed84c3147a96c10d5bb3a5f3200 | f83e5060d3e53e3769257d68eafa11d0cb043636 | refs/heads/main | 2023-04-08T02:22:44.783651 | 2021-04-23T13:02:01 | 2021-04-23T13:02:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,857 | py | import requests
import uuid
import os
import re
import pyfiglet
from utils.helper import generate_hmac_id, generate_user_token, ffmpeg_download
def video_extractor(url):
id = url.split("/")[6]
auth = generate_hmac_id()
user_token = generate_user_token()
response = requests.get(
"h... | [
"prajwalan364@gmail.com"
] | prajwalan364@gmail.com |
e4218be06a9223b9313b577ae2ccd2082b6b7271 | 1092fbf62419d7bf9326efebe0aace3f855cf177 | /python/pyspark/pandas/missing/frame.py | d822c1419247ace140836d9e1f0de5390d87a7bc | [
"Apache-2.0",
"CC0-1.0",
"GCC-exception-3.1",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"CC-BY-SA-3.0",
"LicenseRef-scancode-free-unknown",
"LGPL-2.0-or-later",
"CPL-1.0",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"CC-PDDC",
"LicenseRef-scancode-other-copyleft",
"EPL-1.0",
"L... | permissive | bettermouse/spark | 6cd00c76b42699aca5b0450a081ea4c5a718ba40 | cf19cf5c83f22fb3d6249e1168bd90aad400fde1 | refs/heads/master | 2021-12-14T03:20:49.654960 | 2021-12-08T11:28:30 | 2021-12-08T11:28:30 | 234,536,105 | 0 | 0 | Apache-2.0 | 2020-01-17T11:36:32 | 2020-01-17T11:36:31 | null | UTF-8 | Python | false | false | 3,102 | 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 us... | [
"gurwls223@apache.org"
] | gurwls223@apache.org |
69c92ee8ed5eb078b614684a346b089f78b4a750 | eec8ce578fb66dbddc44bbaf6844044be8833397 | /venv/bin/easy_install-3.6 | a6825d0cabe19cbd90459818aafb27dd7c96d8bb | [] | no_license | tuanweb92my/store_rest_api_test | 0f5b43675b05b538ffac99e4ada4d54a9a9930a2 | 47c862dfd35a4f532a890a1f2a050b2ad6cb2831 | refs/heads/master | 2020-04-24T02:27:16.473994 | 2019-02-20T09:55:46 | 2019-02-20T09:55:46 | 171,637,064 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 290 | 6 | #!/Users/nguyeant/Downloads/testing-python-apps/section8/venv/bin/python3.6
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"nguyenanhtuan92my@gmail.com"
] | nguyenanhtuan92my@gmail.com |
8eae7291444ef47cce77a8103e2172bc6bd9bad6 | 53faa0ef3496997412eb5e697bc85eb09a28f8c9 | /math/0x01-plotting/1-scatter.py | a31bb2257ce08f336c4b29620aefcb8612f794db | [] | no_license | oran2527/holbertonschool-machine_learning | aaec2ffe762b959573f98a5f4e002272a5d643a3 | 8761eb876046ad3c0c3f85d98dbdca4007d93cd1 | refs/heads/master | 2023-08-14T00:37:31.163130 | 2021-09-20T13:34:33 | 2021-09-20T13:34:33 | 330,999,053 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 332 | py | #!/usr/bin/env python3
import numpy as np
import matplotlib.pyplot as plt
mean = [69, 0]
cov = [[15, 8], [8, 15]]
np.random.seed(5)
x, y = np.random.multivariate_normal(mean, cov, 2000).T
y += 180
plt.xlabel('Height (in)')
plt.ylabel('Weight (lbs)')
plt.title('Men\'s Height vs Weight')
plt.plot(x, y, 'ro', color="m")... | [
"orlago250183@gmail.com"
] | orlago250183@gmail.com |
284e0490864499f54aad2f20350204ec7c8c027c | b5550fc728b23cb5890fd58ccc5e1668548dc4e3 | /virt/xenapi/client/objects.py | e802cad3a40334862761921e10431b1be1d92fa6 | [] | no_license | bopopescu/nova-24 | 0de13f078cf7a2b845cf01e613aaca2d3ae6104c | 3247a7199932abf9718fb3260db23e9e40013731 | refs/heads/master | 2022-11-20T00:48:53.224075 | 2016-12-22T09:09:57 | 2016-12-22T09:09:57 | 282,140,423 | 0 | 0 | null | 2020-07-24T06:24:14 | 2020-07-24T06:24:13 | null | UTF-8 | Python | false | false | 4,602 | py | #coding:utf-8
# Copyright 2013 OpenStack Foundation
#
# 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 a... | [
"719184289@qq.com"
] | 719184289@qq.com |
f61c551575b980d89d409934c89b3df93ae03fdc | 2fd9e55cf1d8c13bd475122482e13954d2a001e7 | /Web_Scraping_example.py | af6ed033cb2d3fc253ef772c722c295e3ad56ff9 | [] | no_license | amarosfg/A-Useful-Tool-to-Collect-Data-Web-Scraping | 2a2c68e96da4a4bb91b708c4e8b74d36c438a533 | 5f93730037cee973e6e2dc7704c94b196bdc2ddc | refs/heads/main | 2022-12-31T20:37:11.501444 | 2020-10-25T22:36:47 | 2020-10-25T22:36:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,584 | py | from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
import pandas
import numpy
from openpyxl import Workbook
#The variable wb creates an excel workbook
wb = Workbook()
#Activate the active worksheet
ws = wb.active
#The variables options and preferences ... | [
"noreply@github.com"
] | amarosfg.noreply@github.com |
2412eddc47f2013111e511fe282a4454d0b51120 | c45de1dc96e83028bf150f517d0fa6d7b12a166d | /notebooks/_context.py | 9da323ad3bf37498edcf5944dd0d4bbce76da054 | [] | no_license | EmilioTyl/transformers_from_scratch | 36dc58b30d94d873cb7d496545291bb4ca9697de | 3bb025281eeb877ef1a5844fa81df04c57aa13a1 | refs/heads/master | 2022-12-11T04:54:00.792888 | 2020-08-27T09:14:08 | 2020-08-27T09:14:08 | 286,479,715 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 203 | py | import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../src')))
import src | [
"emilio.tylson@satellogic.com"
] | emilio.tylson@satellogic.com |
96c4752b789ae956d8b79a60a674b50ba638d7b1 | 9fdc676a6cabd9d47eb470659047b406a1305d02 | /flask_hougou.py | 6db82d600df199c54243326ce341288eb4a9fb0f | [
"MIT"
] | permissive | ColdFc/test | c3cb296095cca718db93b1ff6f918bc8b40067f7 | a0be1d71cee99351763205efb6224142ec208687 | refs/heads/master | 2020-05-26T20:48:35.014900 | 2019-05-24T12:54:52 | 2019-05-24T12:54:52 | 188,369,125 | 9 | 0 | null | null | null | null | UTF-8 | Python | false | false | 720 | py | from flask import Flask
from flask import request
app = Flask(__name__, static_url_path="", static_folder="static")
class Config(object):
DEBUG = True
app.config.from_object(Config)
@app.route("/", methods=["GET"])
def index():
with open("templates/home.html", "rb") as f:
content = f.read()
r... | [
"666666@qq.com"
] | 666666@qq.com |
55e61a82cbbef2c7f69744f6e61aabfee698e0d1 | e1e87a1addef379797a131d2458b01fb98ed7ff5 | /bci/samples/python/gbm_benchmark_v2.py | 140c2233d61c1867ddf9103453ebaedb4244eee6 | [] | no_license | thekannman/kaggle | d564a52a4da163da52d8f4348f0438db0fda7fc1 | a8e0bf60ce643385b1e880fffb8db850c2cf32c8 | refs/heads/master | 2021-01-10T02:31:15.054100 | 2015-10-28T03:14:39 | 2015-10-28T03:14:39 | 45,085,807 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,728 | py | ## author: phalaris
## kaggle bci challenge gbm benchmark
from __future__ import division
import numpy as np
import pandas as pd
import sklearn.ensemble as ens
train_subs = ['02','06','07','11','12','13','14','16','17','18','20','21','22','23','24','26']
test_subs = ['01','03','04','05','08','09','10','15','19','25']... | [
"zkann@wisc.edu"
] | zkann@wisc.edu |
cc58f72ba71f39f13c3376a8c2f163006cbb6680 | 645144dddae7921d562300656feaf330223bd2d9 | /QQzone_crawler/util.py | 43c61a161e504ea5fb62bd70b39b3537e5dc1d97 | [] | no_license | zhuliquan/crawler_learning | 79c4b13aea8e5f62cc7687473f14c778d72d6389 | b0e4944cee4e143c7d2497f6688c2c5b06ad979a | refs/heads/master | 2021-05-10T09:53:19.799091 | 2018-04-27T12:28:19 | 2018-04-27T12:28:19 | 118,942,678 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,838 | py | #!/usr/bin/env python3
#-*- coding:utf-8 -*-
from urllib import parse
import os
def get_cookie():
'''Get cookie from cookie_file'''
with open('cookie_file') as f:
cookie = f.read()
cookie = cookie.replace('\n', '')
return cookie
cookie = get_cookie()
headers = {'host': 'h5.qzone.qq.com',
... | [
"zlq164114@sina.com"
] | zlq164114@sina.com |
08b2432bf85b349c0854e59b7fdc613edfc2fe22 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_266/ch10_2019_03_08_10_59_34_133923.py | 5f6fc7c074676543b2b99848c0e35abf7b089d59 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 85 | py | def libras_para_kg(lb):
kg = lb/2.204622
return (float('{0:.6f}'.format(kg))) | [
"you@example.com"
] | you@example.com |
3396bba7978380eaf9eadb1be37f112de85b3074 | 3aafebe8dda3732fdc354df3c253a56762d99bf2 | /integral_view/forms/remote_replication_forms.py | f50fc1ab09b3e7b3e4f2d99ee37638a49cebdb3f | [] | no_license | fractalio/integralstor | e666566301f793cb598a08778861b42710e34e19 | 1aa3e8000e7b676afb3fcadf6627991cc84c62e6 | refs/heads/master | 2021-06-24T15:41:09.400882 | 2017-09-13T06:31:55 | 2017-09-13T14:27:10 | 103,245,335 | 1 | 0 | null | 2017-09-12T08:44:05 | 2017-09-12T08:44:05 | null | UTF-8 | Python | false | false | 4,537 | py | from django import forms
class ZFSMode(forms.Form):
target_pool = forms.CharField()
def clean_target_pool(self):
target_pool = self.cleaned_data['target_pool']
if target_pool and (target_pool.find('\'') >= 0 or target_pool.find('\"') >= 0):
self._errors["target_pool"] = self.error... | [
"ram@fractalio.com"
] | ram@fractalio.com |
dcd6a3c012dc40f933af56f937d8366be20b4fbd | 633a578567b91d7c5e255ad4b15aea9730ad7bd1 | /ToDo/ToDoBox/urls.py | 07f578423dcca78ac26926c295aea8aa92963861 | [] | no_license | Daniel98p/ToDoProject | 7dcd66ec9fa073b4ba7a2a021bc4eb9941aaae66 | 223bcd871cd4000ed9baeeaa959393ba6486bb2e | refs/heads/master | 2022-09-18T04:09:35.709406 | 2020-05-30T15:50:34 | 2020-05-30T15:50:34 | 250,861,691 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 313 | py | from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('delete/<int:obj_id>', views.delete_todo, name='delete_todo'),
path('display/', views.display, name='display'),
path('activities-chart/', views.activities_chart, name='activities-chart')
] | [
"danielmichalik98@wp.pl"
] | danielmichalik98@wp.pl |
8bc687a4d4395da2783d0016ec66dbbb5e676f1e | 91f3294f69b254a2a32e92ae87ecc0e4dcf3b82d | /src/GPIO_clean.py | af98e9464cd4e46a33d8426e25ae7f91b993c5cf | [] | no_license | Karijini/photobooth | db7fe003eecb6860b2b44a67ef76f641c60438ad | 128cdce37009e3269cf6bf1a1e653e64afa814f5 | refs/heads/master | 2021-01-10T15:56:31.163671 | 2016-03-31T13:30:41 | 2016-03-31T13:30:41 | 54,665,938 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 210 | py | import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17,GPIO.OUT)
GPIO.setup(23,GPIO.OUT)
GPIO.setup(4,GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.setup(18,GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.cleanup()
| [
"sebastian.thinnes@gmx.de"
] | sebastian.thinnes@gmx.de |
f514206567ca63e896cbbc56628b8df356f2f308 | c957b4663cc4cb21e5172f23c6989031be8c3e5b | /python/888. Fair Candy Swap.py | 95c36e992773b54e7b4c72dfd9439b8971c51eb4 | [] | no_license | gajanlee/leetcode | e061dc37af0f83bf2bce00c391c0b8a9f3177b22 | 0d3c8477f05604a059e58a8764ce0d8bd418edde | refs/heads/master | 2018-12-26T06:12:24.995542 | 2018-10-30T05:03:27 | 2018-10-30T05:03:27 | 102,965,574 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,393 | py | """
Alice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Alice has, and B[j] is the size of the j-th bar of candy that Bob has.
Since they are friends, they would like to exchange one candy bar each so that after the exchange, they both have the same total amount of candy. ... | [
"lee_jiazh@163.com"
] | lee_jiazh@163.com |
d32d96b452aff9a45fc6474cf6c25de294ad52a9 | cb2febe9c45fc50bd8a1f6af39f9a248d56f20d8 | /models/tensorflow/inception_v2.py | 84f4fc4dc6b2e277a8bd1d8c1161a035ba03f143 | [
"Apache-2.0"
] | permissive | mylolis/DLInfBench | 4e837a23edce390709f93e75729e50055fe8da1a | e582c8f06cf766c356f780f5488b287c840e4899 | refs/heads/master | 2022-02-14T08:22:08.754976 | 2019-08-16T06:19:51 | 2019-08-16T06:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 23,763 | py | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | [
"shiyemin2@qq.com"
] | shiyemin2@qq.com |
f9285da227e9420e40a24aa622a62fb9b72b2f6a | df44affab179c2546fb3e0d1dc29eebcfdf51c1c | /toughradius/modules/tasks/clean_billing.py | 5ab17ac1aa2881f6590a917b6c8fb1e0cfa53ef6 | [] | no_license | sailorhdx/taurusradius | 121c508e7faffaddcd5326d2b6d3710eaf0ed08e | 92d30820611a0c9102ae41713ea3c35437a3c6ee | refs/heads/master | 2021-01-22T02:28:31.543338 | 2017-06-17T02:15:33 | 2017-06-17T02:15:33 | 92,362,551 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,619 | py | #!/usr/bin/env python
# coding=utf-8
import os
import sys
import time
import datetime
from toughradius.toughlib import utils
from toughradius.toughlib import dispatch, logger
from toughradius.toughlib.dbutils import make_db
from toughradius.modules import models
from toughradius.toughlib.db_backup import DBBackup
from ... | [
"sailorhdx@hotmail.com"
] | sailorhdx@hotmail.com |
69414aca6d4d7f0cb5c489d05b25bfc88edba856 | 360a4d5f59a346cec88a5660f2ad464104cb33d3 | /core/urls.py | fdb19830a72d392abb68ebaab202ad3aa517c084 | [] | no_license | kanakan12/airbnb-clone | 48c340f0c7a1f7c35edeb212db81018c5643d663 | 384d02f60d0c80f6c4260a4d7e99ad371ec6d38d | refs/heads/master | 2023-05-04T02:08:19.632764 | 2021-05-25T05:11:22 | 2021-05-25T05:11:22 | 357,159,105 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 211 | py | from django.urls import path
from rooms import views as room_views
app_name = "core"
urlpatterns = [
# path("", room_views.all_rooms, name="home")
path("", room_views.HomeView.as_view(), name="home")
] | [
"69573636+kanakan12@users.noreply.github.com"
] | 69573636+kanakan12@users.noreply.github.com |
6855129c3297167e5e28f1fd6651378c6bd5b025 | 1370b1061ea2790eef64631f16773e024f8b8133 | /main.py | ad9c7483a1e8ded4b387d34e9671e13190aeed79 | [] | no_license | cbbeyer/reflection | 8d3cdaf16a36627a32e24ef1161748c08784799e | 6a6668248bfcdb2cafd3416d9064bdbe235a6eac | refs/heads/master | 2021-07-25T11:44:44.649474 | 2017-11-04T23:37:48 | 2017-11-04T23:37:48 | 109,190,053 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,813 | py | #!/usr/bin/env python3
from serialize import to_json
import sys
################################################
### Testing objects
class Date(object):
'''A date for a person'''
def __init__(self, year, month, day):
self.year = year
self.month = month
self.day = day
class Franchi... | [
"carsen.beyer@gmail.com"
] | carsen.beyer@gmail.com |
b42572225b6714e3c6f166c62dd809cea5271184 | db855555dddc1f17dc3d5784dbb6f68683fb7175 | /tf_experiments/train_setting_03.py | f130ed2a2c5a607510f6bb76b5f8fba4b4b7af5b | [] | no_license | moligslagers/cnn_server | 063f67c449df8b1e5ab4802e241bd10646ad7ce1 | 6f63b1c7eace1b2b857f3186ed044c2245bf56d4 | refs/heads/master | 2023-04-22T10:41:37.223390 | 2017-07-27T12:19:40 | 2017-07-27T12:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 826 | py | from tf_experiments import train_setting_from_scratch as train_from_scratch, \
train_setting_from_imagenet as train_from_imagenet, train_setting_from_cars as train_from_cars
bots_setting_03 = ['cars', 'bmw_models', 'car_types', 'seasons']
# train_from_cars.train(3, 'cars', hours=1)
# train_from_imagenet.train(3,... | [
"m.olig03@googlemail.com"
] | m.olig03@googlemail.com |
74c031d50cf1150eebc7a3381046b4a41296f3e0 | c211a0d57508d2e9168f73c9f3aa8b19bb54e582 | /hummingbot/connector/exchange/dolomite/dolomite_utils.py | 71b6c6de4c1be75f0f3caa04faf1360c4ee17d30 | [
"Apache-2.0"
] | permissive | pulkitsharma/hummingbot | 106ccd3226b082458e7ae279050ebcfbd182f7df | 8695f83a2ffec392083be9ba5be7f0fa5c4dade6 | refs/heads/master | 2022-12-28T19:28:54.430850 | 2020-10-15T04:08:53 | 2020-10-15T04:08:53 | 275,738,351 | 0 | 0 | Apache-2.0 | 2020-09-10T07:16:26 | 2020-06-29T05:24:59 | Python | UTF-8 | Python | false | false | 76 | py | CENTRALIZED = False
EXAMPLE_PAIR = "WETH-DAI"
DEFAULT_FEES = [0, 0.00001]
| [
"victoreni14@gmail.com"
] | victoreni14@gmail.com |
929b88b5412eb718ec7eb9135f8243b831c66224 | a7c43fe60985bcd0c21eb5d95cefd98a6924375e | /accounts/urls.py | f2e0aa8ecdfccb58b540c37fc81a85e47515dafb | [] | no_license | SoumyaRanjanNaik/TimeTableGenerationHelper | 1cb3c13fe8ca610f57796ab0f067676bc14a2cc9 | a76724bd095cee9e1b68e460b1ae4701fb54ea1f | refs/heads/master | 2022-10-23T04:10:52.230928 | 2020-06-16T19:48:00 | 2020-06-16T19:48:00 | 272,745,926 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 578 | py | from django.contrib import admin
from django.urls import path
from accounts.views import *
urlpatterns = [
# path("home/", home, name="home"),
path("faculty_login/", faculty_login, name="faculty_login"),
path("facu;ty_page/", faculty_page, name="faculty_page"),
path("add_faculty/", add_faculty, name="... | [
"srnaik2209@gmail.com"
] | srnaik2209@gmail.com |
12b2ae2377bb9545426fbd1e3fb3a467ac40bf0b | ae6893601b505f0df6014c95d657bfbff854f059 | /pasta-django/cursos/admin.py | 6f63640cbd0046ede2be71af35b92745af46a970 | [
"MIT"
] | permissive | rabeloalcantaraigor/Curso-API-DRF | ff439ec302a740ec6c69e6ae1e274e91bdbfc99f | df613423539a451c67b041b9d606e4525f0b798b | refs/heads/main | 2023-07-17T06:51:14.865047 | 2021-09-02T14:00:04 | 2021-09-02T14:00:04 | 402,443,816 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 355 | py | from django.contrib import admin
from .models import Curso, Avaliacao
@admin.register(Curso)
class CursoAdmin(admin.ModelAdmin):
list_display=('titulo', 'url','criacao','atualizacao','ativo')
@admin.register(Avaliacao)
class AvaliacaoAdmin(admin.ModelAdmin):
list_display=('curso','nome','email','avaliaca... | [
"37155572+rabeloalcantaraigor@users.noreply.github.com"
] | 37155572+rabeloalcantaraigor@users.noreply.github.com |
491d5db8ca46cee613f835831794a720469c3134 | 434566b26b8da70c7eb516f42843d0cad6fb1d24 | /gfe/urls.py | b0fbc060a17667ab9bc750e67737b99ac5bf3ec9 | [
"BSD-3-Clause",
"CC-BY-3.0",
"CC-BY-2.0",
"MIT"
] | permissive | OpticPotatOS/gfesys | 3e27af6eacdfde92695beb67a4d1b114aa13f8ed | 4415e523ba8d1c546c55dd01ccf18baa0bc8f950 | refs/heads/master | 2021-01-17T05:35:57.150499 | 2016-05-27T08:38:19 | 2016-05-27T08:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,996 | py | from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.views.generic.base import RedirectView
from page import views
from surlex.dj import surl
from server import views as server_views
urlpatterns = pa... | [
"magnusjjj@gmail.com"
] | magnusjjj@gmail.com |
aa5ff303cb84f6f6e95af2b35f407decfb78eade | 265051f7cb4e7cd41ba1e4736da154249c93adbd | /laguage/apps.py | 19669f01921fba9aa2807ed58f7dbcaf43f281d5 | [] | no_license | GeofreyMuindeMunguti/zilo-api | af2945b2a2df1cda3d75ae8e179a699633bfbc59 | f3f5512ce0bb397d51ef243e1fd92bd1e2ed7e68 | refs/heads/master | 2023-07-05T09:54:57.115316 | 2021-03-29T22:07:09 | 2021-03-29T22:07:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 89 | py | from django.apps import AppConfig
class LaguageConfig(AppConfig):
name = 'laguage'
| [
"muinde@mesozi.com"
] | muinde@mesozi.com |
7076a30dc510f868334a16834814d2a9d186743b | 7d7e44e1a040311ed0e77149c25fa506018a7814 | /2_clean_osm_write_csv.py | c049496b7517d6fffa00637a75f373a6c03030d2 | [] | no_license | PetzMcPetz/Data_Wrangling | a97c9ca70669e95d0e0422f8028d56bee8678e31 | 2702f84eb0c8788faf5a4a8eac33237e2fc8bb47 | refs/heads/main | 2023-03-25T18:43:47.100896 | 2021-03-23T22:10:41 | 2021-03-23T22:10:41 | 350,870,911 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,249 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 18 23:03:59 2021
@author: Michael Rabe
"""
import xml.etree.ElementTree as ET # Use cElementTree or lxml if too slow
from collections import defaultdict
import re
import pprint
import csv
import codecs
import cerberus
import add_help_functions as... | [
"petz@quantentunnel.de"
] | petz@quantentunnel.de |
cb680713f62e5a02875dde5bcc3b991f790d8eea | 711756b796d68035dc6a39060515200d1d37a274 | /output_cog/optimized_8955.py | 527f9c63569aea386912716fa659f2f8a46cb7f2 | [] | no_license | batxes/exocyst_scripts | 8b109c279c93dd68c1d55ed64ad3cca93e3c95ca | a6c487d5053b9b67db22c59865e4ef2417e53030 | refs/heads/master | 2020-06-16T20:16:24.840725 | 2016-11-30T16:23:16 | 2016-11-30T16:23:16 | 75,075,164 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,839 | py | import _surface
import chimera
try:
import chimera.runCommand
except:
pass
from VolumePath import markerset as ms
try:
from VolumePath import Marker_Set, Link
new_marker_set=Marker_Set
except:
from VolumePath import volume_path_dialog
d= volume_path_dialog(True)
new_marker_set= d.new_marker_set
marker_set... | [
"batxes@gmail.com"
] | batxes@gmail.com |
b4720b1d522b94633c5d679037ba07153eac71b2 | c5f998a4f17a5230094fdb705e374b96a5981b42 | /task1v2.py | 901646e68cf4cefc028682a6a778cd38cc0425b0 | [] | no_license | hodasartem/Python-44 | e5a559aec70e1bae6cc3369e14f7af267bd4c214 | 66a44fa5b6e4da4de48da5aa4fe49254a3f3bc13 | refs/heads/main | 2023-08-25T13:04:52.575373 | 2021-09-26T08:54:08 | 2021-09-26T08:54:08 | 410,501,393 | 0 | 0 | null | 2021-09-26T10:16:37 | 2021-09-26T08:59:52 | Python | UTF-8 | Python | false | false | 186 | py | '''
milk == 3
butter == 5
bread == 7
'''
product = input('Insert the product:\n')
shop_items = {
'milk': 3,
'butter': 5,
'bread': 7
}
print(shop_items.get(product.lower(), -1)) | [
"hodasartem777@gmail.com"
] | hodasartem777@gmail.com |
716527aca7bc545f06d76e03edefcf6a532451fe | 61e9f2ffcd2a86319e6be84f971db31b234aa9cb | /src/Continuous_Penrose/test.py | 27cc1382da010f3e598c829abcd86c5e60442fd4 | [
"MIT"
] | permissive | kms70847/Animation | a4d520199907b5d8b080af5984e410a36e942f62 | 784c44edc7b8b1d60d439cc906bbe474ea4d3758 | refs/heads/master | 2021-07-12T23:31:24.805736 | 2021-04-07T20:12:38 | 2021-04-07T20:12:38 | 44,679,946 | 17 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,808 | py | import math
from geometry import Point, midpoint
from PIL import Image, ImageDraw
phi = (1 + math.sqrt(5)) / 2
def exp(radius, angle):
return Point(math.cos(angle)*radius, math.sin(angle)*radius)
# def kite(a,b,c, depth):
# if depth == 1:
# draw.polygon(a.tuple()+b.tuple()+c.tuple(), outline="black... | [
"kevin.m.smiley@gmail.com"
] | kevin.m.smiley@gmail.com |
d5808f86d9ebf25d4fa6321b5b14b50847bc8414 | 90d3af65fc9900f2abb7eaa7631646856e115da3 | /COMP9021/lecture/quadratic_equation_v5.py | 32e18a6aaeae380a362bf3d9d2dbaab0a24fd8d2 | [] | no_license | Tim-hyx/UNSW-Courses | d414b79b6c5b428be12456ba85e1757ac871535b | b7031ea9ac833b5a396e7938ef73cc335a2e37b7 | refs/heads/main | 2023-07-10T19:48:34.731340 | 2021-08-10T02:39:14 | 2021-08-10T02:39:14 | 300,894,504 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,092 | py | # Written by Eric Martin for COMP9021
'''
Represents a quadratic equation as a class with a, b, c, root_1 and
root_2 as data. By default, a is set to 1 and b and c are set to 0.
The parameters can be changed with the update() function.
Whether the parameters are changed when the equation is created or by a
call to ... | [
"noreply@github.com"
] | Tim-hyx.noreply@github.com |
fa129e88da4e08d94d2ae7cbc77816d05dda9af7 | 4be47041113d9187034ac4ba61a60208ebf9622b | /Audio.py | 79d6e7db70a92f1deb5883bb703aaa9375d31b79 | [] | no_license | BenLehmann12/Audio-Processing- | 92ab019b417e1bafe58d1d35ceddb505e72175c3 | 95c6f6c671a1d6f2a390598a7b3777fa17764285 | refs/heads/master | 2022-11-26T22:45:06.007380 | 2020-08-02T20:14:59 | 2020-08-02T20:14:59 | 268,144,982 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,888 | py | import librosa
import librosa.display
import IPython.display as ipd
import os
import matplotlib.pyplot as plt
import numpy as np
#os.path.exists('Users/Lehman/PycharmProjects/space_oddity.wav') #Made sure the file is set
#print(os.listdir())
path = 'island_music_x.wav'
x, sr = librosa.load(path)
print(x.... | [
"noreply@github.com"
] | BenLehmann12.noreply@github.com |
bf257165b2f74181970ef391c605e8952b3eaa10 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03324/s989817125.py | f8ce37adb41afe47dfcaf209885260199bbdb52d | [] | 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 | 447 | py | #!/usr/bin/env python3
d, n = map(int, input().split())
if d == 0:
if n == 100:
print(101)
else:
print(n)
elif d == 1:
l = []
if n == 100:
print(10100)
else:
for i in range(1, 100):
l.append(100 * i)
print(l[n-1])
else:
if n == 100:
pri... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
c65c3fafb3849bf153c49e517efd3dc0fdd061aa | 569a7c330511c58276c3bb020de20cd7779d2e37 | /mozaggregator/db.py | 94d4ab8f9e4e61628919c6765470f50bbc05f5c9 | [] | no_license | vitillo/python_mozaggregator | 3b6cbe57baf49b83646624ddcc5042f84d857a07 | 938880ac951edabe444ef7534cd88d6eeffa5c03 | refs/heads/master | 2021-01-10T01:29:22.001471 | 2015-09-25T11:16:29 | 2015-09-25T11:16:29 | 36,069,380 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 7,462 | py | #!/usr/bin/env python
# encoding: utf-8
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import psycopg2
import pandas as pd
import ujson as json
import boto.rds2
impor... | [
"ra.vitillo@gmail.com"
] | ra.vitillo@gmail.com |
e499c5885f41fbad43983182c64a49fb3142f5d2 | 13ec0c28352b255596e2a801ecb9d529eebc114b | /SerialTool/Robot.py | 57336b279cc4c3ae0d00ec74b2fce85cb07a81d0 | [] | no_license | yergen/SerialTool | cdd38ce8bc92020f3736f24b2d17fafac9d1fc07 | b068051ea939308030cf2dc37973127d7906470a | refs/heads/master | 2020-08-12T00:20:53.113814 | 2019-10-12T14:02:11 | 2019-10-12T14:02:11 | 214,568,434 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,395 | py | import struct
from datetime import datetime
class QxRobot(object):
def __init__(self):
#super(QxRobot, self).__init__(parent)
self.initVariable()
def initVariable(self):
self.jointVersion = 0
self.multiple = 0
self.errorLog = []
self.lastID = 255
... | [
"15010908626@163.com"
] | 15010908626@163.com |
ec3fd1acc220ef26c9dbc5e7a9ecd28e583e257d | 915f1c80b6b420926f337e2090ba50f91f7b9534 | /carts/views.py | ebee412dff143108136058b0d204570e782ed9b5 | [] | no_license | Paccy10/greatkart-django | 32f32a7f202c25b26abf37094b25bebf4f507261 | 51b8cb1f8303acb93cbd139c1d3fa93bdff3c093 | refs/heads/main | 2023-06-14T21:58:16.493382 | 2021-07-10T10:06:17 | 2021-07-10T10:06:17 | 378,876,084 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,155 | py | from django.shortcuts import render, redirect, get_object_or_404
from django.core.exceptions import ObjectDoesNotExist
from django.contrib.auth.decorators import login_required
from store.models import Product, ProductVariation
from .models import Cart, CartItem
def cart(request, total=0, quantity=0, cart_items=None... | [
"pacifiqueclement@gmail.com"
] | pacifiqueclement@gmail.com |
ed7864fbc5faf9d58d3816537dbd833787832756 | fa124fdbf36327bf8e74bbc7f00ce448c1e7939a | /src/com/rwanda/mch/sms/api/messaging/zdmapper/mappers/cmrmapper.py | f97e94e932dc69ab661619c309d6cd2f1afa6449 | [] | no_license | pivotaccess2007/mch | 039f17cdb16b434c0a25504cc81b7db81e5da988 | 523d1cd706296744e17e85683b5dbedbc05dd9e6 | refs/heads/master | 2020-03-30T16:33:44.451275 | 2018-10-03T13:23:00 | 2018-10-03T13:23:00 | 151,414,990 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,019 | py | # vim: ai ts=4 sts=4 et sw=4
##
##
## @author UWANTWALI ZIGAMA Didier
## d.zigama@pivotaccess.com/zigdidier@gmail.com
##
from model.ccm import CCM
from sms.api.messaging.zdmapper.mappers.childmapper import Childmapper
from sms.api.messaging.zdmapper.mappers.ccmmapper import CCMmapper
import datetime
class CMRmapper(... | [
"zigdidier@gmail.com"
] | zigdidier@gmail.com |
3ac9d236c7a52f4c921b2b75b6a80d93ee63834b | e38c5c8d9a0ae12be0ca755720b7bad54bddf457 | /DataGenerator.py | 8d1475b20b65bb2be0d5d7ecefd6f1a3a40087cd | [] | no_license | Amlan-Gopal/fots | 0d242f4e166c9781695ee1534f2cd72b56c65870 | bff6fe258a46375831554262cad54dd9106d1141 | refs/heads/main | 2023-06-10T09:42:15.019113 | 2021-06-26T13:00:43 | 2021-06-26T13:00:43 | 380,490,450 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 34,730 | py | # Imports
import numpy as np
import os
import scipy.io
import glob
from tqdm import tqdm
import random
import pandas as pd
import pickle
import cv2
import time
import scipy.optimize
from shapely.geometry import Polygon
import tensorflow as tf
import math
import traceback
import warnings
warnings.filterwarnings("ignore... | [
"noreply@github.com"
] | Amlan-Gopal.noreply@github.com |
04d47422d6a76801d62c26410a9a43db11a6255f | 2a8891bbfbd6fa9fa8569adac51194bfaef97f5d | /config.py | 4f2085183a3645a4dd60ba56ea5198de402ea5b9 | [] | no_license | artbn/RC | a39db55b62387704954998c22be5e625501ce84d | a6d796ce84a02aa219e6e22a94b6f8db85a817ce | refs/heads/master | 2020-03-23T20:44:13.482299 | 2018-07-23T19:27:05 | 2018-07-23T19:27:05 | 142,059,485 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 111 | py | username = ""
password = ""
client_id = ''
client_secret = ''
user_agent = 'Calculates HoC for /r/counting' | [
"artbn@AMA.localdomain"
] | artbn@AMA.localdomain |
2db8ab80ed72844b6bef78bae4348bce7f1c7503 | bbbd7ffcc4b55bed62a96780db8edeca487ba08b | /FCND-Motion-Planning/planning_utils.py | 861933e06cc124770a8870b2aaccfb9797d9bb2f | [] | no_license | spowers42/flying | 9560ce1fda6533c1457267912df5918265add523 | af124cdd8f02b2793287b4751a869d945f850381 | refs/heads/master | 2020-03-17T23:53:43.825796 | 2018-05-20T17:06:32 | 2018-05-20T17:06:32 | 134,065,706 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,407 | py | from enum import Enum
from queue import PriorityQueue
import numpy as np
def create_grid(data, drone_altitude, safety_distance):
"""
Returns a grid representation of a 2D configuration space
based on given obstacle data, drone altitude and safety distance
arguments.
"""
# minimum and maximum n... | [
"spowers.42@gmail.com"
] | spowers.42@gmail.com |
122dfe826c7c5c53f479eb39847069b57f6ed0de | 54f9074cb1ce68d71f0848a7f66b5272fb820288 | /scripts/kladoi.py | 08b64842e4da8dc2dac166cbdd618d647d9ca292 | [] | no_license | fkaralis/talaiporosanaplirotis | ee7827fccb38e70c834c5d6d19d36ef42ee882dd | 17f7b39655939b9e6559fbef65bcf8df4656468d | refs/heads/master | 2021-01-11T02:04:29.743459 | 2018-09-17T13:41:49 | 2018-09-17T13:41:49 | 70,840,487 | 2 | 3 | null | 2016-10-25T18:45:03 | 2016-10-13T19:25:45 | Python | UTF-8 | Python | false | false | 4,080 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
builds Klados table from given path
'''
import pandas as pd
from os import listdir
from os.path import isfile, isdir, join
import sqlalchemy
import pandas
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.sql import exists... | [
"fivoskaralis@gmail.com"
] | fivoskaralis@gmail.com |
1e627aaff1f0c48f994b092b322f45d4c1ded3fb | b99590ca634710c0c41d650220766fcd230c4749 | /demos/mujoco/robot_control_scene_creation/Demo_Point_Cloud.py | c809ff9320f22cebc3c927a8e8f47b412f2be80a | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Yabing67/SimulationFrameworkPublic | 9db38749050c830f906f54f16688013216f90e4d | fc052c21e400a175d5d44e00afe1303d32f3886a | refs/heads/master | 2023-06-24T22:16:17.769225 | 2021-07-20T17:47:38 | 2021-07-20T17:47:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,358 | py | import classic_framework.mujoco.mujoco_utils.mujoco_controllers as mj_ctrl
from classic_framework.mujoco.MujocoRobot import MujocoRobot
from classic_framework.mujoco.MujocoScene import MujocoScene as Scene
from classic_framework.mujoco.mujoco_utils.mujoco_scene_object import MujocoPrimitiveObject
if __name__ == '__mai... | [
"ge.li@kit.edu"
] | ge.li@kit.edu |
80eb6b6100c4e2ed80fed96a55cc7f3f4610d39e | 60b42a25eae1148600c83051444947216f766d6a | /Borrowings/apps.py | b4e0749e0703d9bd9e9ebe69678aa88942dcda9f | [] | no_license | SaketZode/ExpenseManagerBackend | d060c61ebc2c533291d6154ea84b41b217fc919c | 85f7a9426485abc53168bc926ccca885bf754383 | refs/heads/master | 2023-02-16T06:12:48.904544 | 2021-01-17T14:09:35 | 2021-01-17T14:09:35 | 308,875,608 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 95 | py | from django.apps import AppConfig
class BorrowingsConfig(AppConfig):
name = 'Borrowings'
| [
"55745771+SaketZode@users.noreply.github.com"
] | 55745771+SaketZode@users.noreply.github.com |
b6c27d4355423ad57305b93778a6c56636871433 | 3221b73723fa7be24be2541ef690dfc6d0dbc313 | /example.py | 06a2a932271e2ab1e9b41b76bf11440ffe85ed6b | [] | no_license | ayourk/pycfl | abfd57e9aa06ff2072a214ffdab1d59fa1356a3d | 21a80b8b1ebef5bc2a185060cae6d17312c68d12 | refs/heads/master | 2022-12-10T12:08:21.237216 | 2018-04-07T11:03:05 | 2018-04-07T11:03:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 596 | py | import re
import requests
import time
from pycfl import pycfl
r = requests.Session()
rc = r.get("https://nordvpn.com/login").text
open('gdown.log', 'w').write(rc)
if 'Checking your browser before accessing' in rc:
ans = pycfl(rc)
jschl_vc = re.search('name="jschl_vc" value="(.+?)"', rc).group(1)
jschl_pas... | [
"piotr.staroszczyk@get24.org"
] | piotr.staroszczyk@get24.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.