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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ea211ceda69d5684aebe4589deb3ba099130fa13
d085a640fff4a44b65dc62590ed89253fa221263
/money_tracker.py
6d312c9644629ea68d0028da81e3d9f89701207a
[ "MIT" ]
permissive
paulburnz314/coffee_machine
1a1c12a7e4ad6dea71b827f70d36aa7d5189c3c6
36bba10d009b9f009398ccee6a05220b84e8b0b8
refs/heads/main
2023-03-02T00:20:06.633171
2021-02-12T19:25:42
2021-02-12T19:25:42
337,550,229
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
class MoneyTracker: CURRENCY = "$" # label for formatting currency COIN_VALUES = { "quarters": 0.25, "dimes": 0.10, "nickles": 0.05, "pennies": 0.01 } def __init__(self): self.profit = 0 self.money_received = 0 def report(self): """Prints the current profit. I added the :.2f forma...
[ "noreply@github.com" ]
paulburnz314.noreply@github.com
6fd67b6b693b6c301e3654e90e09871256f29eb2
7b09d131ba09c3ef5c7658eeea9075e0b4a7ec5a
/updateBlynk.py
5d9c051f86d7db79d4f3dad8d5b0e5c7ba8a9dfd
[]
no_license
deepcore2/SDL_Pi_SkyWeather
38afe43466fbf078629966504e010c5fe2fafb5e
492d1df40b49a2896280cc1ddfb64e98d38e2045
refs/heads/master
2022-02-20T13:41:59.418699
2019-09-30T01:30:03
2019-09-30T01:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,691
py
# provides routine to update SGS Blynk Display import time import requests import json import util import state import traceback # Check for user imports try: import conflocal as config except ImportError: import config DEBUGBLYNK = False def stopFlash(): r = requests.get(con...
[ "jshovic@switchdoc.com" ]
jshovic@switchdoc.com
5c69eb46b0cf53e9b0b75d460c795a7447e8db1e
52bb5f79a099040e8f90f221e809713a53903ff4
/vaccine/login/app.py
1b67a38b5eb264d072774cee9fe433e898e10d28
[ "Apache-2.0" ]
permissive
biallenchanuow/CSCI927
7df43a6d0023d46cd65fb9e095c9d3ab0a7b1da6
de5b8e153f182bc1550cbca00d481426ce7f898c
refs/heads/main
2023-08-16T23:21:56.647146
2021-10-12T11:17:55
2021-10-12T11:17:55
407,023,589
0
0
Apache-2.0
2021-09-16T04:48:23
2021-09-16T04:48:22
null
UTF-8
Python
false
false
1,420
py
from flask import Flask, g from flask.sessions import SecureCookieSessionInterface from flask_migrate import Migrate from flask_login import LoginManager import models from flask_admin import Admin from flask_admin.contrib.sqla import ModelView from route import user_blueprint app = Flask(__name__) app.config['SECRET_...
[ "sl438@uowmail.edu.au" ]
sl438@uowmail.edu.au
fe2fe1f8b9c7ba7702b38d6238da956f25174af4
e47d7272dea81513e26f6b9ac16ae7f2c3467a18
/trainer.py
de2ac5660d0550bccb6aabbc542ccc6081d96f45
[]
no_license
nitesh237/face-detect
100313d61066a90526d270885881fc0275f28aff
79601911d8d2d006f90b445e8b2d2eb0d2e3f750
refs/heads/master
2020-04-06T07:18:57.494395
2018-11-12T19:50:17
2018-11-12T19:50:17
157,267,565
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
import os import cv2 import numpy as np from PIL import Image recognizer = cv2.createLBPHFaceRecognizer(); path = 'dataset'; def getImageID(path): imagePath = [os.path.join(path,f) for f in os.listdir(path)] faces = [] IDs = [] for image in imagePath[1:]: face = Image.open(image).convert('L'); faceNp =...
[ "n.guptasbp@gmail.com" ]
n.guptasbp@gmail.com
85a7b7165a40d4f9c47466f77f8df23dc5ba4db1
f116239b0102c5f22641b70305a0e1e09982f585
/tasks/xlive_bag_send_task.py
5f981362ba35092c5b233d19ed0a5709b89e5c77
[ "LicenseRef-scancode-sata" ]
permissive
wenjianX/BiliExper
3075efbd1a2ddebd4b87fe5a5c06aa7a524c04bb
b27f5ae2c845741a2513d1498954287bf256cb54
refs/heads/master
2023-05-22T09:38:57.585862
2021-06-10T07:22:01
2021-06-10T07:22:01
379,563,848
1
0
NOASSERTION
2021-06-23T10:24:24
2021-06-23T10:24:23
null
UTF-8
Python
false
false
1,751
py
from BiliClient import asyncbili from .push_message_task import webhook import logging, time async def xlive_bag_send_task(biliapi: asyncbili, task_config: dict ) -> None: room_id = task_config.get("room_id", 0) if room_id == 0: try: ...
[ "2271150345@qq.com" ]
2271150345@qq.com
148163317eee7bc9e82fada3cd8c5026ec7e85dc
3811bd8e323158adabbb4d44a5ca9108f23e49d1
/project_app/models.py
2191cc6895e6b694ee77b70c0333e788f11dd0f3
[]
no_license
ranakumtee/django_project
7a51b809c981bc72d28da2437524dfea98784b06
b26c2c6eea3d944599e04825a71abeb0916e7956
refs/heads/main
2023-03-18T20:56:15.777648
2021-03-10T20:04:49
2021-03-10T20:04:49
346,653,906
0
0
null
2021-03-11T09:52:33
2021-03-11T09:52:33
null
UTF-8
Python
false
false
3,474
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Tables(models.Model): name = models.TextField() desc = models.TextField() class Personal(models.Model): username = models.CharField(max_length=50) rank = models.CharField(max_length=50) email ...
[ "yanapat.pi@live.ku.th" ]
yanapat.pi@live.ku.th
ed3962679f3569de0efc57197373f7139220afbe
be0edc20433a6ad3bf4b8f448f1c457437de4c52
/huxley/core/admin/delegate.py
6f7e07e1c80d5f269090bfe38f1d8dd13775523a
[ "BSD-3-Clause" ]
permissive
ethanlee16/huxley
eca8c3c1d4ea543a5875c28d4cb5c81dc4e4eddb
5d601e952c711e9b6703170c78fb23fcc2734ead
refs/heads/master
2021-01-15T09:20:25.310737
2014-12-03T14:51:33
2014-12-03T14:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
# Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved. # Use of this source code is governed by a BSD License (see LICENSE). import csv from django.conf.urls import patterns, url from django.contrib import admin from django.http import HttpResponse from huxley.core.models import Delegate cla...
[ "k.mehta@berkeley.edu" ]
k.mehta@berkeley.edu
47fc843974746e62f87a004cad569868da268f34
0a3815afcf4597da1f79771c16e6214059cfa5fe
/app.py
a6140e3b6d15483d4b25bd5955b5ba5bb1ffa459
[]
no_license
attapalace/Twitter-scraper-with-flask
5127b74c67f0a70ec60ba625b228fe4e01ac9d2b
ad3ad89da61f8d677522ae86f857245d178af8c5
refs/heads/main
2023-07-08T07:17:12.492235
2021-08-14T17:59:43
2021-08-14T17:59:43
377,746,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
from datetime import date from flask import Flask ,render_template,request import os import snscrape.modules.twitter as sntwitter import pandas as pd app = Flask(__name__) @app.route('/', methods=['POST', 'GET']) def index(): today = date.today() #print('if you want to search for either of mu...
[ "noreply@github.com" ]
attapalace.noreply@github.com
6b2338034fb221816ccae9a9a27cb20c6014f947
145791316db71595fcad65a2a3b79f963ea6890d
/test_sum.py
02126a9ad9bbc9e709051abb693d9bd8dfcfe939
[]
no_license
bagage/vscode-python-pytest
0fe4098904ead3ca55fe1060a89385aed96b8bd6
e5bfa3b623a721ea946d91c7adc744cebdef735e
refs/heads/master
2023-05-28T09:31:00.719063
2021-06-14T08:58:47
2021-06-14T08:58:47
376,761,949
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
def test_sum(): assert 1 == 2
[ "gautier@getluko.com" ]
gautier@getluko.com
c88fd9183f2e1a1a45fa0d2ebe786192943ae6e1
18c96c4f45177a3fbd58ee838431559b0d2456d9
/OMNIBNK/settings.py
78a232949b9e0b3df86aac9773f70f4b3f1e277e
[]
no_license
oscardb22/OMNIBNK
26a6e8bcb93b7a862d842464cf9f7d2ed3ea8aa4
cc895101e295235cb80dbb2f06e6b94572c08601
refs/heads/master
2020-06-19T06:00:46.477931
2019-07-12T21:20:00
2019-07-12T21:20:00
196,589,949
0
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
from django.urls import reverse_lazy import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = '^$fwni&4(-0ioqy%89ds173t!+p%we8=kc1*t-zq(n#$6l!pua' DEBUG = True ALLOWED_HOSTS = [*''] INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.cont...
[ "oscar.dominguez@credyty.com" ]
oscar.dominguez@credyty.com
a77f23a1cf62fc058473b1776d247aafdd9e8e08
65d953f13b143ac1dbdb3054eede0daa4b1b5437
/코테/카카오연습용/accounts/LoginViews.py
dba7e983a82311d0f85ea4caee8714a006dfc583
[]
no_license
jigglypop/machine_deep_learning_study
86784b51767185a743d31cb08ac1f20f86285014
53924dadaa52f4e63c37753502a530443eac658b
refs/heads/master
2023-02-05T06:21:59.299659
2020-12-20T17:33:27
2020-12-20T17:33:27
222,834,779
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
from django.shortcuts import render from .serializers import PostSerializer, RegisterUserSerializer, UserSerializer, LoginUserSerializer, LargeResultsSetPagination from rest_framework import viewsets, permissions, generics, status from rest_framework.response import Response from knox.models import AuthToken from rest_...
[ "ydh2244@gmail.com" ]
ydh2244@gmail.com
7d9b4cbc72ddc8c65d96a80888246cb468ee8603
d183f9719250d85d9aaf231799c25d648a9f204b
/Problem Set 3/Mark Component.py
f6495fbfad4a21b1889e3caa195737eb9c6e0097
[]
no_license
MijanurMollah/Udacity-Intro-to-Algorithms
099e0f20c6078b3772bb2c8cfd2ad787557d363b
937445148073db99c94ff362005e91e5ff6fb2d5
refs/heads/master
2020-09-01T16:25:55.098105
2019-11-03T01:58:11
2019-11-03T01:58:11
219,004,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
# Rewrite `mark_component` to not use recursion # and instead use the `open_list` data structure # discussed in lecture # def mark_component(G, node, marked): open_list = [] marked[node] = True total_marked = 1 for neighbor in G[node]: open_list.append(neighbor) marked[neighbor] = Tru...
[ "noreply@github.com" ]
MijanurMollah.noreply@github.com
769c233947bb21e73d616adc9283780a1161b902
43277f3962edfd5f16d116a3ed35cc08000a0707
/modular/badger_utils/sacred/experiment_config_diff.py
5d352aa5b1beb2c014775fb68bf4df78bac4dffd
[]
no_license
GoodAI/badger-2020
0cbeb60bf5b5fa2959504b1ba4489d5725646474
bb3822dbcbb04ed9c153c4deffa25a81011c8ce5
refs/heads/master
2021-07-15T12:49:44.227988
2021-03-02T19:06:06
2021-03-02T19:06:06
243,016,754
7
1
null
2020-08-10T13:13:51
2020-02-25T14:15:24
Jupyter Notebook
UTF-8
Python
false
false
3,324
py
from typing import Dict, Any, List, Tuple import pandas as pd from badger_utils.view.config_utils import tuple_to_dict class ExperimentConfigDiff: _diff: Dict[List[Tuple[str, Any]], List[int]] _common: Dict[str, Any] def __init__(self, common: Dict[str, Any], diff: Dict[List[Tuple[str, Any]], List[int]...
[ "jaroslav.vitku@goodai.com" ]
jaroslav.vitku@goodai.com
66335d806ccf0a4f3148e4dabc2ca3baa18b55b8
e1fada3a9846a5593e3d3d2fdc32b23b832e38b4
/tests/unit/cli/tools/test_eval.py
76eee501f89daf8095a5032255767270ab304ab5
[ "Apache-2.0" ]
permissive
GalyaZalesskaya/openvino_training_extensions
fd1ebb189900008b16b85568449e5c62d8edbad5
6116639caeff100b06a6c10a96c7e7f5951f20c7
refs/heads/develop
2023-09-03T19:32:44.702497
2023-03-15T06:48:24
2023-03-15T06:48:24
202,568,309
0
0
Apache-2.0
2019-10-28T16:16:27
2019-08-15T15:41:59
Python
UTF-8
Python
false
false
4,079
py
import argparse import pytest from otx.cli.tools import eval as target_package from otx.cli.tools.eval import get_args, main from tests.test_suite.e2e_test_system import e2e_pytest_unit @e2e_pytest_unit def test_get_args(mocker): mock_options = { "--test-data-roots": "test/data/root", "--load-we...
[ "noreply@github.com" ]
GalyaZalesskaya.noreply@github.com
ea685e6280f3ad3289add58490a51f8c7d8cb094
c6aa0c4877aa5a14a8b7ce68c28504547d44a8bf
/DjangoProject/SensorPoll/forms.py
13210db2f8717ca227a1a60d2cab49e1fd4345c4
[]
no_license
Dirk7589/HouseSensor
72215afccd0dcb040040700695437c7d02d92a9c
3de91e23f0e99d28a7d71185daad7f06d45a719a
refs/heads/master
2021-01-18T23:37:40.143138
2016-04-21T23:27:52
2016-04-21T23:27:52
40,416,071
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from django import forms from models import * class ActiveSensorsForm(forms.ModelForm): class Meta: model = ActiveSensors fields = ('Sensor_number', 'Sensor_name')
[ "lamothe.max@gmail.com" ]
lamothe.max@gmail.com
cfe29c23297e0b8167a1f1a3e388e74ad9a83c5c
c8cd3dbcb783b6daad866be07be950bbc4cd9fe9
/boards/models.py
95ad56c05b421ac32e2b4d6d8490dcb0569a8431
[]
no_license
pauloendoh/django-boards
d6b42b829dee0c96c4bda676da5e2ac1977f0922
640c0672b049d190213f5bf318f390b40e697262
refs/heads/master
2020-03-13T03:43:19.604777
2018-04-26T02:22:58
2018-04-26T02:22:58
130,949,060
0
0
null
null
null
null
UTF-8
Python
false
false
2,223
py
from markdown import markdown from django.db import models from django.contrib.auth.models import User from django.utils.safestring import mark_safe from django.utils.text import Truncator import math class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField...
[ "paulo.endoh@gmail.com" ]
paulo.endoh@gmail.com
8c36e1ab17f6eae4d21ebc502df4c780b0ed08c6
4c42938d71b5c29082cb7cb8560a5bfe0751b33d
/new_0412.py
8b714ee7a76eed55fbb8b51720018bb02a9b2e32
[]
no_license
Pimh/pdsg_renthop
249ea8d1c79910bb13fb153d7d46e9989143ba71
ded77ec0d51ab4a4357ef2170d7e28f45aa80469
refs/heads/master
2021-05-09T01:03:53.305322
2018-02-01T03:17:08
2018-02-01T03:17:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,975
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Apr 12 08:03:31 2017 @author: PimH """ import numpy as np import pandas as pd import matplotlib.pyplot as plt import datetime import itertools from sklearn.model_selection import train_test_split, cross_val_score from sklearn.ensemble import RandomFore...
[ "pimh@seas.upenn.edu" ]
pimh@seas.upenn.edu
f60fe656d312d24398de8241d649b5008f7daeb3
20324cbda561c2cc3220a30e90b7583e4f554fd9
/scripts/vesc_control.py
59a66ac261d5d0a49436f9ed3f9f0ffa0dba8d2d
[ "MIT" ]
permissive
DIYRobocars-BLR/vesc_control
cc19d01fea0bfcf5d75915ea57ca76bbea47bc08
16eae1eaf549bee7a48825abbf8ff00786b85170
refs/heads/master
2020-03-27T21:20:49.345641
2018-09-03T01:29:35
2018-09-03T01:29:35
147,136,369
0
1
null
null
null
null
UTF-8
Python
false
false
514
py
#!/usr/bin/env python # license removed for brevity import rospy from std_msgs.msg import * def talker(): rospy.init_node('vesc_control_node', anonymous=True) pub = rospy.Publisher('/commands/motor/current', Float64, queue_size=10) rate = rospy.Rate(10) # 10hz while not rospy.is_shutdown(): val...
[ "ss.shrek7@gmail.com" ]
ss.shrek7@gmail.com
82147037ffb32a42caafdb8859d25db1cbd55b59
4f804508c78c331d7985db936d099522a5739303
/dcorch/api/proxy/apps/controller.py
53f93e012e597b6aacf6235591087795391f5261
[ "Apache-2.0" ]
permissive
starlingx-staging/stx-kingbird
406f6ada829fe285329670d81d5c9e4bcc58884e
9869ad4640e76384fa14f031a59134cd439929a8
refs/heads/master
2020-03-18T00:56:00.772399
2018-05-20T04:28:15
2018-05-20T04:35:38
134,110,148
0
0
null
null
null
null
UTF-8
Python
false
false
23,493
py
# Copyright 2017 Wind River # # 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, so...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
c09b4455555d767d1f1a726e68eb69f6e59bbe88
02f72e485de03d5bc39ed16c068b33d4ec8825e3
/bat.py
4d104a711a033cd8a3b4fa16ec80b7f40387faae
[]
no_license
Gatete-Bruno/Bat-Git
3a4386f7cff014947e63933e31a46cbb004c4318
8ac35e0b2b480fe8fe95e6ba9c2667ddb77231bb
refs/heads/main
2023-04-21T02:21:34.257383
2021-04-29T11:06:19
2021-04-29T11:06:19
362,784,684
0
0
null
2021-04-29T13:00:43
2021-04-29T10:52:48
JavaScript
UTF-8
Python
false
false
32
py
print("Hello to the Bat WOrld")
[ "catobrunoisrael@gmail.com" ]
catobrunoisrael@gmail.com
11108b3b42eb57c2518670f455c505757c3df7cd
237b3c8260ffc8b8094b9974afd589af2227fbcd
/Week1/DecisionTreeExercise.py
ff464f332a0009b2da1fa8ad5dbcd8bd6646ee23
[]
no_license
Kosernik/ML-HSE-Ya
05b9e2da2aa3447e481c52d0c544d4dca3b1d88e
e52954041d78afa66f67bed95850318449e7e99a
refs/heads/master
2022-11-22T18:18:13.998295
2020-07-27T18:33:12
2020-07-27T18:33:12
277,654,803
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
import pandas as pd from sklearn.tree import DecisionTreeClassifier data = pd.read_csv(r'C:\MyProjects\python\ML-HSE-Ya\data\titanic.csv') # print(data.head(10)) # PassengerId,Survived,Name,SibSp,Parch,Ticket,Cabin,Embarked data.drop('PassengerId', axis=1, inplace=True) # data.drop('Survived', axis=1, inplace=True) ...
[ "kornilovsergei28@gmail.com" ]
kornilovsergei28@gmail.com
32f18c3503462e8b9e16986958e5e764039917e6
06ffa1b0c56839163abe8a3224e0139aab8b37e9
/train_slowfast.py
ddc5e2fbab3d559cf594d9be6069ad292606393f
[]
no_license
vietanhdev/pushup-counter
cb41f48c7f10ba51429bf7cae9bf8fb31eee5faf
68c57a4fd1a414c2683b2e6328fd4d6223dbcd81
refs/heads/master
2023-01-09T00:20:31.581598
2020-11-18T04:10:39
2020-11-18T04:10:39
311,329,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,883
py
import sys import os import json from pathlib import Path import tensorflow as tf from models import build_slowfast_model from losses import focal_loss from data_sequence import DataSequence # Check configuration file args = sys.argv if len(args) != 2: print("Usage: python train.py <path-to-config-file.json>") ...
[ "vietanh.dev@gmail.com" ]
vietanh.dev@gmail.com
33956c8ebe76c287159bd51df8bc7b8ad9dc0954
9b6506075cd5bd8220189aa536c29ba0b60d953d
/tests/connections.py
63d32bc8ac2851db9eda8360b7c5b35f7c6a6655
[ "MIT", "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
julienmaffre/CCF
5ba38d796137d7aedef544c9241a49590ac7cd41
b571047136017a43ff548ed728c72efa550a4592
refs/heads/master
2020-09-08T04:57:44.258790
2019-11-11T16:28:43
2019-11-11T16:28:43
221,022,339
0
0
Apache-2.0
2019-11-11T16:26:32
2019-11-11T16:26:31
null
UTF-8
Python
false
false
3,261
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the Apache 2.0 License. import sys import os import infra.proc import e2e_args import getpass import os import time import logging import multiprocessing from random import seed import infra.ccf import infra.proc import infra.jsonrpc import j...
[ "noreply@github.com" ]
julienmaffre.noreply@github.com
1a9d307b7fe4a46a212b922e933837a08ceb6308
7b995c200ebf41274d51f8cd3cedb882754e79e5
/uploadapp/views.py
5c57d8236f432ec6c02427484df6cd1cfedb2f03
[]
no_license
masoomkonwar/pan-extraction-api
62fd7cdbbf93647d2f09268bcd23205bc634a2ed
2d6896a33fc83f1578d27815d68edd5dd4223839
refs/heads/main
2023-05-26T19:22:30.653686
2021-06-11T14:57:15
2021-06-11T14:57:15
315,983,936
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
from django.shortcuts import render from .models import User from django.core.files.storage import FileSystemStorage import re import cv2 import pytesseract from django.conf import settings from django.http import JsonResponse def index(request): return render(request,'index.html') def uploadImage(request): ...
[ "msmkonwar@gmail.com" ]
msmkonwar@gmail.com
83e803ba1d789263d3f30feabe3561c26ba87038
2331ef4f4ce155d32727a7f5de8f313eace80433
/piannBlog/urls.py
4546a425a1472d14fc36cf85111ee527dec571d3
[]
no_license
piann/FirstBlog
7fa3e465a4c81fe9dcccea0b3f4a8ef58160a348
4284f6524425ad59afa7bbe3cca211518935af3c
refs/heads/master
2022-08-01T15:38:53.841660
2022-07-12T05:02:25
2022-07-12T05:02:25
146,428,248
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
"""piannBlog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "dszzang21@korea.ac.kr" ]
dszzang21@korea.ac.kr
a56284f885fa48ed63884b6ce71bc6af019845e8
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/Others/past/past201912-open/g/main.py
54e6af8dac7ce0af88307994ac3cc8aa07ba57a3
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
1,159
py
# -*- coding: utf-8 -*- def get_pairs(group): from itertools import combinations pairs = list() for p1, p2 in combinations(group, 2): if p1 > p2: continue pairs.append((p1, p2)) return pairs def main(): import sys from itertools import product input = sys...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
c3e09bab0bfed296d9c0504d22539054f33298af
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/RSG/CP2RSGPythia8/RSGfragments/RSGravitonToGammaGamma_kMpl01_M_4750_TuneCP2_13TeV_pythia8_cfi.py
fb6cecf4012af20bf07d74d1f2cf406820e124f7
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,157
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP2Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(1.09...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
8b0b16fc46a5ad36a61dc3f734fe9c8d0615b2d7
1e8795d1ab1bcb58518dde710b6df94ff4df0259
/day2/for_loop3.py
6e6352e48d70d99fcb005bd1a71fdaa6391016e4
[]
no_license
rcas99/BeautifulPatternsMIT
b65f491fb4a770c8c10232d8c54cb4d94d57421c
c4ec3998578c9fb5cad73d5ca1863216c4ea0fc1
refs/heads/master
2022-12-11T11:26:49.271260
2020-09-08T18:37:43
2020-09-08T18:37:43
294,443,852
1
0
null
2020-09-10T15:08:07
2020-09-10T15:08:06
null
UTF-8
Python
false
false
202
py
""" Conditionals programming exercises For loop """ x = int(input("Escoge un numero positivo 'x': ")) print("La serie del 10 al numero positivo 'X' es:") for number in range(10, x): print(number)
[ "a01400835@itesm.mx" ]
a01400835@itesm.mx
5f3de75aad1afc4cfe886a3e0fe4d562ec53a65a
1a03664e4dd5f5fb12434d32129e612a76bf6d61
/core/loaders.py
ec96d2b6531d033017d8a3b7ea1fae80ede688e7
[]
no_license
SergioAnd95/refactored-adventure
6601dabaa0b7125a94f0010157e17862c84c1d32
553d1425b6d59f69b9c526eecff07df0f18835b4
refs/heads/master
2020-03-30T09:05:05.893448
2018-10-17T15:10:40
2018-10-17T15:10:40
151,059,439
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import importlib from settings import settings def autodiscover_app_module(module_name): for app in settings.INSTALLED_APPS: importlib.import_module(f'{app}.{module_name}') def discover_urls(): """ Find and return all routes from apps :return: list """ urlpatterns = [] for ...
[ "developinc@yandex.ru" ]
developinc@yandex.ru
a5f1cb849664a352aca6565f82e557a792243459
8dac93fb21c9ae8254c814ae55ca23b06fe85326
/ex6.py
753f2a2e438bed0e9fd93c880b0f012b5a8c2d72
[]
no_license
duanxiaoyu/python_learing
745c4a5a9dfa37da5777287c3cec4870e75032ca
5b6f7d453417f9e4da3a3581f16600ce0c3b6576
refs/heads/master
2021-01-17T08:16:36.531178
2016-07-28T00:01:44
2016-07-28T00:01:44
64,262,548
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
x = "there are %d types of people" %10 binary = 'binary' do_not = "don't" y = "thoese who know %s and those who %s"%(binary, do_not) # pirnt x & print y print x print y hilarious = False joke_evaluation = "isn't that joke so funny ?! %r" #print jokestring + valua print joke_evaluation %hilarious w = "this is a left si...
[ "yuzhouxiaoxiao@163.com" ]
yuzhouxiaoxiao@163.com
f975e0a4d12496012b500813cfc94786bb7d9803
644b13f90d43e9eb2fae0d2dc580c7484b4c931b
/2019 baekjoon/Math/1676_factorial2.py
2481524d4c177197c939031d86cfa79bd6a652e5
[]
no_license
yeonnseok/ps-algorithm
c79a41f132c8016655719f74e9e224c0870a8f75
fc9d52b42385916344bdd923a7eb3839a3233f18
refs/heads/master
2020-07-09T11:53:55.786001
2020-01-26T02:27:09
2020-01-26T02:27:09
203,962,358
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
# def factorial(num): # if num == 1: # return 1 # return num * factorial(num - 1) # # # def factorial_count(num): # target = list(str(factorial(num))) # count = 0 # for i in reversed(range(len(target))): # if target[i] == '0': # count += 1 # else: # re...
[ "smr603@snu.ac.kr" ]
smr603@snu.ac.kr
05efdcf945261287d7b9713791800d5a330653ad
83d1cd17b8a01bc3f071009f9d234beb2e4933ff
/todo/urls.py
c2e2ceed39e35ab7b9f365bafe4a0ae192116ea1
[]
no_license
jorgoni/proyect-djan
bd7877c16c67ca1a86f303901ba3d55843c58e5f
9b49ada396e60eb3f7137e73abbcb460208d8d57
refs/heads/master
2023-05-12T11:47:06.232892
2021-06-03T18:24:04
2021-06-03T18:24:04
373,590,613
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
# -*- coding: utf-8 -*- from django.urls import path from . import views urlpatterns=[ path("", views.home, name="home"), path("homei", views.home, name="homei"), path("home/<int:arbol_nodo>", views.homen, name="homen"), path("respuesta/<int:arbol_nodo>", views.respuesta, name="respuesta"), path("...
[ "georgecruzortiz@gmail.com" ]
georgecruzortiz@gmail.com
7da24d5460361be30bb65e4ed99d86609b0e2ebe
cb46a971b4340e5c6720f53ce3ded5e772b170b3
/users/pipeline.py
e539d338fde12b9bc3b6ee30925f04382eebe68b
[]
no_license
DenisBilobram/Django-course
0a006c20409290aa3aa721837cd9eaafd115ff7e
aa04e6a92eba134978e0deb85d529dda51fb6d62
refs/heads/master
2023-02-09T02:39:44.668803
2021-01-01T14:51:07
2021-01-01T14:51:07
323,090,547
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
from collections import OrderedDict from datetime import datetime from urllib.parse import urlencode, urlunparse from urllib.request import urlopen from .forms import ProfileEditForm import requests from django.utils import timezone from social_core.exceptions import AuthForbidden from users.models import Profile de...
[ "bilobram.denis@gmail.com" ]
bilobram.denis@gmail.com
83633aa10daa799984d01e9d3d3ade1d3c7f2a7e
89d003625e43eec9de8ea376d3b2d8cd7206950a
/GyoiReport.py
e7f6ee60846a3200f64724711629c17405de15c1
[ "Apache-2.0" ]
permissive
rajatkverma/GyoiThon
f263ac617402566b9c847ab8c11e633846112eb2
8f6d1f99b2e12875c6410ec07828cab938108ddd
refs/heads/master
2021-04-09T13:27:52.603933
2018-03-16T02:07:15
2018-03-16T02:07:15
125,450,885
0
0
null
2018-03-16T02:10:23
2018-03-16T02:10:23
null
UTF-8
Python
false
false
2,407
py
#!/bin/env python # -*- coding: utf-8 -*- import sys import glob import configparser import pandas as pd from jinja2 import Environment, FileSystemLoader # Create report. class CreateReport: def __init__(self): # Read config file. config = configparser.ConfigParser() try: ...
[ "noreply@github.com" ]
rajatkverma.noreply@github.com
19d548e49df17fd5f2a942c7fc09007559ccdbf9
7cfa09e633c1eef8daaf9033dbbae609abe2b542
/src/wifi/wscript
2e5020b56bcd2a0792651f91ecd542a64512099b
[]
no_license
Ganz7/ns3_802.11aa
bb20878191d666eafd9e65e7947a9dfe5bb9ce04
8e655641e17376c65780f9441265ecbc4b1741bd
refs/heads/master
2021-01-10T17:24:49.196147
2016-04-20T17:26:49
2016-04-20T17:26:49
55,539,991
0
0
null
null
null
null
UTF-8
Python
false
false
6,487
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_module('wifi', ['network', 'internet', 'propagation', 'energy']) obj.source = [ 'model/wifi-information-element.cc', 'model/wifi-information-element-vector.cc', 'mode...
[ "ganzse7en@gmail.com" ]
ganzse7en@gmail.com
1727b51b8a28a9c8a1d664f9248c2b26dbc432c1
8b9a4c4008bcc2516b4871d0fcb649d12b73afb3
/mysite/blog/migrations/0001_initial.py
c3c4d7095c6effd9d738ba6eb9aac4ac9d9a7254
[]
no_license
lalalajiangbiyaosi/Django-by-example
d90913598f7885735497df42909c131ddab74abd
b624b67bb6d194771259670b135f2959c847e778
refs/heads/master
2021-04-28T06:01:37.423814
2018-02-22T12:45:16
2018-02-22T12:45:16
122,191,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-02-17 07:12 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depe...
[ "825936328@qq.com" ]
825936328@qq.com
d4b66625608a7e4c23263c810ef9efd20b4ffe98
f85485e03a96173b9d858b728b07ce1fe9641f49
/FinancialManagement.py
4ca5c15beaede82926e174ca048b90502227f1cf
[]
no_license
AbdulrhmanSobhyAlsayed/Financial-management
8d123d2f14fd2a408d13eedc0be022a939ca9dcd
871d329c6a1b73c73119850315e8ca3f49265eeb
refs/heads/master
2022-12-08T12:12:56.742267
2020-08-23T09:51:24
2020-08-23T09:51:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
import os class FinancialManagement: def __init__(self): self.name="null" self.basicSalary=dict({"null":"0"}) self.expenses=dict({"null":"0"}) self.balance=0.0 self.extraIncome=dict({"null":"0"}) self.taker=dict({"null":"0"}) self.giver=dict({...
[ "noreply@github.com" ]
AbdulrhmanSobhyAlsayed.noreply@github.com
38f9f64be6b857c9631741c3b5835175b4d4b478
77b1b3e510076c55e428044bf5a260d1d32869ed
/Image filtering and edge detection/Task2.1P.py
c3b18ccc9b3aae85c9e293e18ed08c7f79812806
[]
no_license
applecrumble123/ComputerVision
604ae50e40a49fb1f0d527ce1caa84f66c17cd97
22881001bd5f9c3032ed8c461d8e3944df385626
refs/heads/master
2022-12-31T08:35:50.603070
2020-10-20T08:19:45
2020-10-20T08:19:45
305,631,704
0
0
null
null
null
null
UTF-8
Python
false
false
4,000
py
import numpy as np import cv2 as cv from matplotlib import pyplot as plt import math #load image img = cv.imread('/Users/johnathontoh/Desktop/SIT789 - Applications of Computer Vision and Speech Processing/Week 2/Task 2.1P/Resources_2.1/empire.jpg') img_gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY) plt.imshow(img_gray, ...
[ "jhtoh@deakin.edu.au" ]
jhtoh@deakin.edu.au
c575f9ab8bb0f669d6f36c30755a4f948d8ecd2e
826ef921c6ea02e532398b87991353a61cb2804f
/api/serializers/experiment.py
2b88bebc58d6a5700e4f30cfecbdd1b5dcb7a513
[ "MIT" ]
permissive
betagouv/peps
c3823405b27fa73e3e9bf63292622d68021d622b
6a28aac1c6daca530775db7cd173cbca2441ab54
refs/heads/master
2022-02-14T08:06:15.759531
2022-01-25T15:01:34
2022-01-25T15:01:34
202,151,130
6
7
MIT
2022-01-24T14:03:21
2019-08-13T13:31:01
Python
UTF-8
Python
false
false
7,449
py
from rest_framework import serializers from drf_base64.fields import Base64ImageField, Base64FileField from data.models import Experiment from data.models import ExperimentImage, ExperimentVideo from api.serializers import MediaListSerializer class ExperimentImageSerializer(serializers.ModelSerializer): image = ...
[ "alejandro@amguillen.dev" ]
alejandro@amguillen.dev
5a90f5b43138ebf000953a0e137ceac4e764177a
38dec837a5063d0111b1e92ef678e04094ea8f90
/form/migrations/0031_emp_form.py
35c50e203231c7a5b8bfb488440801988c1b569c
[]
no_license
Nurlan1/ranking
47321205f0408ab4978a8fa0d3e74c60698710e7
88e297a1217574947cb11da405132a640f80371b
refs/heads/master
2022-05-08T12:55:40.669941
2021-06-04T07:48:04
2021-06-04T07:48:04
254,357,305
0
0
null
2022-04-22T23:11:46
2020-04-09T11:50:49
HTML
UTF-8
Python
false
false
2,672
py
# Generated by Django 2.2 on 2020-12-28 10:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('form', '0030_student_form_own_skills'), ] operations = [ migrations.CreateModel( name='Emp_form',...
[ "toktorbekov1999@gmail.com" ]
toktorbekov1999@gmail.com
42571309656e4894e9a6eaf76de3b09b53d83ede
9a37461f5ee5e6ca6e2f43b88394bf7b66f2a95b
/app/app/schema.py
9805c62eb5645eb2888e22b4a0a22a711a0f77b3
[]
no_license
goughjo02/react-tracks
c7587039dae7bc649b0fb8570f78fd8f1f4062a4
a394a3cd79b7accf69a87144f39986f508afea08
refs/heads/master
2023-04-11T04:51:17.336810
2021-04-17T20:37:50
2021-04-17T20:37:50
356,690,948
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
import graphene import graphql_jwt import tracks.schema import users.schema class Query(tracks.schema.Query, users.schema.Query, graphene.ObjectType): pass class Mutation(tracks.schema.Mutation, users.schema.Mutation, graphene.ObjectType): token_auth = graphql_jwt.ObtainJSONWebToken.Field() verify_toke...
[ "goughjo02@gmail.com" ]
goughjo02@gmail.com
46dbda76f22183920083b4a4bf2b8d279781fb8e
21068e56ade178d4df5c579af9b39214375a6a60
/Basic/Loop/while.py
68011c054dd73d9d5801384267dec2c780fcdcde
[]
no_license
torikraju/python
c91da5e365ab4909fbe5417815f1c3908f23db40
662e2dfd84773e792319f1283566853b234d9617
refs/heads/master
2020-04-09T11:40:53.116281
2019-01-01T12:19:51
2019-01-01T12:19:51
160,319,771
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
blockchain = [] def add_value(transaction_amount='default value', last_transaction=[1]): blockchain.append([last_transaction, transaction_amount]) def get_last_blockchain_value(): return blockchain[-1] def get_user_input(): return float(input("your transaction amount please ")) tx_amount = get_user_...
[ "torikraju@hotmail.com" ]
torikraju@hotmail.com
61a56e8f561435c4a10d86df63ea689a20d4c8df
49f61714a6f78d984fd2194d6064d84e891bc5b7
/2019-1/220/users/4266/codes/1693_1879.py
55a2e7d2215d87de2d3bec79e75dfecd21f22dde
[]
no_license
psbarros/Variaveis3
b5c4e1517e7d94a846ee03791d25d5821a1c651c
3dcf6f810709ce03c78335acf9533e008a2ae125
refs/heads/master
2023-06-13T07:05:00.878430
2021-07-06T17:51:37
2021-07-06T17:51:37
383,549,597
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
# Ao testar sua solução, não se limite ao caso de exemplo. extras = float(input("Digite o numero de horas extras: ")) faltou = float(input("Digite o numero de horas que faltou: ")) h = extras - ((1/4)*faltou) if (h>400): g = 500.0 else: g = 100.0 print(extras, " extras e ", faltou, " de falta") print("R$ ",g)
[ "psb@icomp.ufam.edu.br" ]
psb@icomp.ufam.edu.br
ef3fab69eb592ef269063a47815bcf415a20ec5a
cae9bf9cfc911309a58dbf68736649422736cf16
/SVM.py
5b279013201d10ce02cc169cad4f1770702e29e3
[]
no_license
SobhanDash/SVM
b3ecc644a1ae0fadb6a508047d14a416ed1ab38a
2710927b2dba2392e867e2500f8f3f67fd64b3aa
refs/heads/master
2022-12-14T19:54:26.705620
2020-09-06T07:47:35
2020-09-06T07:47:35
293,228,035
2
0
null
null
null
null
UTF-8
Python
false
false
593
py
import sklearn from sklearn import datasets from sklearn import svm from sklearn import metrics cancer = datasets.load_breast_cancer() #print("Features: ", cancer.feature_names) #print("Labels: ", cancer.target_names) x = cancer.data #All of the features y = cancer.target #All of t...
[ "noreply@github.com" ]
SobhanDash.noreply@github.com
976024538682c39ea666ce8a446262993b29caed
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/test/test_get_credit_memo_item_typewith_success_finance_information.py
7a33e49537112879bd23b6dc4151bca3264a0e5d
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,982
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
056be20ed1e3365c7fdde9a90eaa63c5dcb36b19
cce1e235c2c8e58d83af6dbadeb471ca62b710a1
/hackerrank/data_structures/linked_lists/print_in_reverse.py
2ce2ada1121b872bcca83b376be97f1e9c07e040
[]
no_license
SebastianThomas1/coding_challenges
6b51ce046b458c44db809687b6809d16d066566f
bd3bc6be7a975b6255e4b2198c953d56bd74e75a
refs/heads/master
2023-03-03T00:18:00.147369
2021-02-08T21:52:02
2021-02-08T21:52:02
336,688,955
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
# Sebastian Thomas (coding at sebastianthomas dot de) # https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse # # Print in Reverse class SinglyLinkedListNode: def __init__(self, node_data): self.data = node_data self.next = None def reverse(head): current_node ...
[ "sigma.online@gmx.de" ]
sigma.online@gmx.de
e45195c3021c89716d44b391b1ecb44dbda515df
d9d61b364487ddf4e7a2fd871059ec26ecaf3fb7
/accounts/admin.py
9a3a61cf853c6134062d1708a473d5005971ca67
[]
no_license
fortune/django-auth-session-sample
623e31a06232f1c33e340bfee484677c09aa6383
070e400f6de30a02ef40f8a4b2c272d533772e43
refs/heads/master
2020-05-17T08:03:23.603123
2019-05-27T10:15:53
2019-05-27T10:15:53
183,596,908
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
from django.contrib import admin from django.contrib.auth.forms import UserChangeForm from django.contrib.auth.admin import UserAdmin from .models import User # Register your models here. class MyUserChangeForm(UserChangeForm): class Meta(UserChangeForm.Meta): model = User class MyUserAdmin(UserAdmin): ...
[ "fortunefield@gmail.com" ]
fortunefield@gmail.com
38a89f777e8bbe9356f75f9a636906d2bcb8c7b1
3427decdf9d761c6cc9933662b6eb9e408c39064
/dictionary.py
9b711a7867bfa4e49f30b9343710338761a591e7
[]
no_license
yunshang/python
b74add81404a68b806931e5da57b5bf51f7d1085
1ddbdf76640196e46e39e74d26d2b000c54a19af
refs/heads/master
2021-01-10T21:01:05.948851
2014-07-24T03:40:42
2014-07-24T03:40:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
#!/usr/bin/env python # encoding: utf-8 import wx import urllib2 import codecs import re import fileinput import sys reload(sys) sys.setdefaultencoding('utf-8') class Example(wx.Frame): def __init__(self, parent, title): super(Example, self).__init__(parent, title=title, size=(300, 250)) self.InitUI() self.S...
[ "Bingbug1992@gmail.com" ]
Bingbug1992@gmail.com
15aa12ee133e35281060e4580a88fe2e75fd98f9
7f0481f1f3508b6a957f71bf49478ceb592fe945
/F9744/Keras/Ch02/Ch2_3.py
2d96fd756a615e339fc8234a3768a8308657e512
[]
no_license
dsalearning/tf.keras_python
d8c8174fac793cd5266e4aded9e83c2631311c15
f06950d035c6aff0fd518eafcc09caffa348aefe
refs/heads/main
2023-01-20T03:23:10.826040
2020-12-01T01:56:00
2020-12-01T01:56:00
309,405,021
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
num = 10 print(num) if num >= 10: print("數字是10")
[ "alvinlin98@gmail.com" ]
alvinlin98@gmail.com
828390637851af3ac878569b4c3b034030f07415
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-css/huaweicloudsdkcss/v1/model/setting.py
0c3511543b950ff7b9b7c9005a2fe6122a67016d
[ "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
9,314
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class Setting: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
5fdd169dfde0cf56687a3d1233957fba84ef3e90
c5f86a009e52e43456ab2c1d80d6ce4d5855206d
/foundation/python/bst/node.py
86eedfdd8b8aa1224519e02d119bb463fef5c4ea
[]
no_license
MirTalpur/cs-fundamentals
149ad0ffb571f28d666cd68b5dd93ef5870e99fc
76b8cfafa5303110a3b539c16c00144b7ab728df
refs/heads/master
2021-09-22T11:42:11.048807
2018-07-24T06:59:06
2018-07-24T06:59:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
class Node(object): """docstring for Node""" def __init__(self, data): self.data = data self.leftChild = None self.rightChild = None def insert(self, data): if data < self.data: if not self.leftChild: self.leftChild = Node(data) else: self.leftChild.insert(data) el...
[ "hskalee123@gmail.com" ]
hskalee123@gmail.com
ec9956db768eacf326814720cf23bfac4a22d5e0
c7279eb0f50a87c0d80e1d461d9349070c0a193f
/docker_version/mqtt_app/message_eater/mongo.py
7bbda5ed347f9e9759383ab0e1151692a4ed73cc
[]
no_license
rurentero/MQTT-PersistedEnv
079caa56f35461b83a7cf0a4f327449835d1965b
4213aeba896d05e61d7cb42501ad6799ebe188dc
refs/heads/master
2022-11-06T23:31:20.588551
2020-06-24T18:26:12
2020-06-24T18:26:12
260,447,148
0
0
null
null
null
null
UTF-8
Python
false
false
3,382
py
from typing import List from datetime import datetime import paho.mqtt.client as mqtt import pymongo import pymongo.database import pymongo.collection import pymongo.errors import threading import os #MONGO_URI = "mongodb://localhost:27017" # mongodb://user:pass@ip:port || mongodb://ip:port MONGO_URI = "mongodb://mo...
[ "noreply@github.com" ]
rurentero.noreply@github.com
602086de4515f698b533636b2648b870169d37ec
d1413683b9e4d49799096dfde2d6527ec6bac1b5
/lib/gencode_icedb/tsl/evidenceDataDb.py
135eaa458c995096e194c38e2d9db24551010d1e
[]
no_license
diekhans/gencode-icedb
24f612feab4f467f40059a64b59dc1344d91ae1b
9e2784c6a1ed8ac86343ee3a11f5704f5d2dc0c1
refs/heads/master
2021-05-04T11:33:04.310537
2020-02-22T00:46:05
2020-02-22T00:46:05
52,420,714
0
0
null
null
null
null
UTF-8
Python
false
false
6,018
py
""" Read evidence alignments from tabix files. """ import pysam from pycbio.sys.symEnum import SymEnum, auto from pycbio.sys.objDict import ObjDict from pycbio.hgdata.psl import Psl from gencode_icedb.general.evidFeatures import EvidencePslFactory, EvidenceSamFactory from gencode_icedb.general.transFeatures import Exon...
[ "markd@ucsc.edu" ]
markd@ucsc.edu
02e1485ac84e75fe3e43d1e153b0d258fcaf093f
486b405835469bab887be73f62a7bfd191bd98ae
/SetupGUI.py
21038f616ae909ff2a47132cee1501a3a31ede87
[]
no_license
dot1991/RotMG-Headless-Launcher
d2529668625eed7d077fe43ba0fe2fc44cc23b9e
6982ea3af659f44d94e9106bc4ab3d5ed02b1bc9
refs/heads/main
2023-03-14T21:14:47.731411
2021-03-27T21:03:38
2021-03-27T21:03:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
import os import tkinter as tk from tkinter import messagebox from tkinter.filedialog import askopenfilename window = tk.Tk() window.title('Shortcut Script Setup') lbl_email = tk.Label(text="Email") ent_email = tk.Entry(width=50) lbl_password = tk.Label(text="Password") ent_password = tk.Entry(width=50, show='\u2022'...
[ "rumbleqwop@gmail.com" ]
rumbleqwop@gmail.com
3ba689c12014c59821f299b2c336a5260ccc761e
9487973dee0ad29d7e5199ab64230311fca5556d
/Old files/webapp-Completed-Maria/webapp/routes.py
2be8d58c2e4d5540b2dfd8a5db232b04df60e789
[]
no_license
ahussaini821/Bioinformatics-project
3a1be8f0a552fcf8bbe279d573ab596fd770d0c1
1635d61db00d81d85b14d23667a8c435fd18da31
refs/heads/master
2022-04-16T05:31:41.779121
2020-02-14T09:17:56
2020-02-14T09:17:56
232,339,540
1
0
null
null
null
null
UTF-8
Python
false
false
12,217
py
#Import the dependencies that we will be using in this file import os from webapp import app from flask import render_template, request, redirect, url_for, send_file, send_from_directory from werkzeug.utils import secure_filename from webapp.dataAccess import searchProtein, searchGene, searchSubstrate, inhibitor from w...
[ "55877793+ahussaini821@users.noreply.github.com" ]
55877793+ahussaini821@users.noreply.github.com
56e254566c6f66a6fe32334746ee9ded25d30f35
5b56f7a244310a4a387868309baaba7cd303be34
/MemeEngine/MemeEngine.py
2ac66c5a319f3507bb3c31c133533dc5e76c3aac
[]
no_license
saltamay/Udacity_Intermediate_Python_Meme_Generator
a4e5067d9bcc3961a8fc6c2ab2e4e26a85e1c8dc
ffb57ccd662da3f6ab832b2934eb8df962bedc8a
refs/heads/master
2023-07-14T15:31:18.357474
2021-08-26T02:16:31
2021-08-26T02:16:31
397,812,386
1
0
null
2021-08-24T23:02:53
2021-08-19T04:09:32
Python
UTF-8
Python
false
false
1,932
py
import textwrap import random from PIL import Image, ImageDraw, ImageFont class MemeEngine: def __init__(self, output_dir: str) -> None: self.output_dir = output_dir def make_meme( self, img_path: str, text: str, author: str, width=500) -> ...
[ "sal.tamay@outlook.com" ]
sal.tamay@outlook.com
718f5c466bcb072ac392b31093e06e95e765a778
c065ff2a6a377aea2303b7b8482558049958a7ec
/toydrill/1562239369/tactile.tac
bc08dcae3533cc9df2a88b7b7c9676aaa4f9f19f
[]
no_license
waedbara/vision2tactile
7bc9861eecb4247fd254ea58dc508ed18a03b1af
edbc9dfee61b4a4b1f0caebb2f16faef090dff32
refs/heads/master
2022-04-02T20:43:16.621687
2019-12-11T08:07:39
2019-12-11T08:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
tac
,3504,3675,3514,3654,3568,3467,3700,3569,3528,3402,3457,3599,3046,3296,3498,3420,3527,3532,3031,2852,3668,3676,3627,3561,2031,2034,1725,2050,2640,3328,3514,3353,3403,3289,3248,3462,3366,3348,3171,3256,3488,3320,3340,3234,3339,3344,3299,2877,2753,3504,3489,3478,3352,1909,1901,3056,2093,2473
[ "brayan.inf@gmail.com" ]
brayan.inf@gmail.com
10dc596ee3806327d1ccc373c0416d36df7405ed
6ca8795838b63f932a03734a3b14cf322171b933
/blog/admin.py
c2cf3f7be3e20faba6c2a782913585f831e97125
[]
no_license
jesusvita/benihanaTipOut2
4a18b4dc763665c11ac6a3d5613112a6dcec601c
fd186e73fbf21bd47384b0b7f2b4ad632f4d8f21
refs/heads/master
2022-02-27T11:55:28.636086
2019-10-09T04:17:56
2019-10-09T04:17:56
212,521,897
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from django.contrib import admin from .models import Post, tipOut admin.site.register(Post) admin.site.register(tipOut)
[ "jesusvitaa@gmail.com" ]
jesusvitaa@gmail.com
8585c66c448b22e2add5a38e02bc37cc636d7286
395b2e9718eeb5035995130b2377c47b8df05614
/tests/attack/test_pgd.py
87973fe5b11c7e424ec3918db6a543beef229bab
[]
no_license
gatheluck/fourier-attack
0a6d773e268bf1e480f04a43dcc72905af804b43
1668f0d2eed6182cb69904c49fe223e78cb5d0cc
refs/heads/master
2023-03-10T05:15:10.897205
2021-03-01T08:19:10
2021-03-01T08:19:10
320,191,916
1
0
null
2021-03-01T08:19:11
2020-12-10T07:21:19
Python
UTF-8
Python
false
false
2,035
py
import pathlib from typing import Final import torch import torchvision import fourier_attack.attack.pgd from fourier_attack.util import Denormalizer class TestPgdAttack: def test__forward( self, pretrained_cifar10_resnet50, cifar10_stats, normalize_cifar10_loader ): input_size: Final = 32 ...
[ "gatheluck+tech@gmail.com" ]
gatheluck+tech@gmail.com
ee47a4b6d23e2e42d141640137a6287efceccf21
951f4f4611e5bf2dc3970cc38aa545a54b78690b
/google/cloud/billing/budgets_v1/services/budget_service/pagers.py
7dd43d59a473e66b6fa0df2247a29735ee27397a
[ "Apache-2.0" ]
permissive
renovate-bot/python-billingbudgets
e54771361e1e9239697e23255b00f6551a1d18b7
2b1e66fa19415f56e33713d57fcc516efca6d03a
refs/heads/master
2023-06-08T01:23:04.490451
2021-08-18T15:42:00
2021-08-18T15:42:00
227,000,311
0
0
Apache-2.0
2019-12-10T01:13:52
2019-12-10T01:13:51
null
UTF-8
Python
false
false
5,860
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" ]
renovate-bot.noreply@github.com
c764dffcf73e377fbeab0b1e3fe032ab8004b975
5b19ced6bd173baf11c4b5e9d1c08f17ca635773
/Python/数字在排序数组中出现的次数.py
3f6a48c6ebcbfd2edb992331e21d261b5f5d29a5
[]
no_license
zhaoqun05/Coding-Interviews
8efe579b6a1a6186107f599a31a9e96389df52f3
e05c1e6390b3df49dd02571e13fb8a3822eae649
refs/heads/master
2022-01-08T13:30:06.542796
2019-06-18T14:00:55
2019-06-18T14:00:55
282,934,693
2
0
null
2020-07-27T15:13:54
2020-07-27T15:13:53
null
UTF-8
Python
false
false
1,253
py
''' 统计一个数字在排序数组中出现的次数。 ''' # -*- coding:utf-8 -*- class Solution: def GetNumberOfK(self, data, k): # 直观的想法从前到后的顺序遍历,但是算法题几乎不会将顺序查找作为考察要点…… def getFirst(nums): start, end = 0, len(nums) - 1 while start <= end: mid = (start + end) // 2 if da...
[ "1215470124@qq.com" ]
1215470124@qq.com
2f561e222d595c6c365156517d18d9b6348e040b
1d0576ee4a2cda4cc9a5ebe37664d468534f6389
/algorithms/number_theory.py
a23c6b1daf940afd9910e83e7e5b5c2dae244e83
[ "MIT" ]
permissive
vadimadr/python-algorithms
2090aca095b5295cf4bf0bac2e5cf1041e812df8
a9716308ccf9ebf54d7472da4700b5acffbea547
refs/heads/master
2021-11-24T23:32:15.363990
2021-11-05T16:48:12
2021-11-05T16:48:12
66,856,752
4
0
MIT
2021-11-06T20:58:10
2016-08-29T15:39:48
Jupyter Notebook
UTF-8
Python
false
false
14,506
py
from functools import reduce from itertools import chain from math import sqrt from operator import mul from random import randint def even(n): # n ~ 2*k return n % 2 == 0 def odd(n): # n ~ 2*k + 1 return n % 2 != 0 def gcd(a, b): """ Greatest common divisor (greatest common factor) N...
[ "vadimadr@gmail.com" ]
vadimadr@gmail.com
104aa7236b2381b4af5aa9d9053a24f682ac2631
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/39/usersdata/86/15445/submittedfiles/dec2bin.py
0fccfb359d06440edc18ae24c0887321b3568f73
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
# -*- coding: utf-8 -*- from __future__ import division d = int(input('d:')) soma=0 cont=0 while d>0: soma=soma+d%2*10**cont d=d//2 cont=cont+1 print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
90a2f233f880dee86c7b4757134d73a96ca8b4ed
4bd46c3c9ee7c7f86ee1ee86782ca965c6fdf107
/schdule.py
53d79f652342474d8b2b853197f3614b86393509
[]
no_license
jarvis7164/RISAPI_PACS
282432b26bd579b259aae9ec65f56e31004dd992
af1009c1bc34cbe55fbc8176cbd9b4be487a9e1e
refs/heads/master
2023-04-30T14:13:13.890773
2021-05-20T07:11:02
2021-05-20T07:11:02
365,457,314
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/12/4 17:12 # @Author : jarvis # @Email : 309194437@qq.com # @File : schdule.py # @Software: PyCharm import datetime import schedule import time def job(): print("I'm working...") print(datetime.datetime.now()) schedule.every(5).seconds.do(job...
[ "309194437@qq.com" ]
309194437@qq.com
3f1983f3b77851249aa095044152d90113409543
72010b3a43f865abb4e5b6815b1daeba82049909
/aulas_2019/moduloT.py
c4624d9c0ec19c58de331c00397111641718e9e3
[]
no_license
malbouis/Python_intro
c8f7246839f08039c3e91d3468df523e4fb7884a
26d961bf3091faa754c752bde1a060280269915a
refs/heads/master
2022-02-08T04:24:34.593032
2022-02-03T13:46:02
2022-02-03T13:46:02
149,350,743
9
15
null
2019-04-16T18:03:43
2018-09-18T20:52:37
Jupyter Notebook
UTF-8
Python
false
false
393
py
# modulo para transpor matrices def transpor(matriz): nlinhas = len(matriz) ncols = len(matriz[0]) mtransp = [] for i in range(0,ncols): colunai=[] for j in range(0,nlinhas): colunai.append(matriz[j][i]) mtransp.append(colunai) return mtransp if __name__=='__main...
[ "noreply@github.com" ]
malbouis.noreply@github.com
c10f14d4bda28ddbc62ce16813f148700c8eb2b9
6be58abe26943d3bda744c93a47225639c1cdf70
/chapter4/janken.py
a0bc40f915b93e05c7ef26e60fe5623141da1bfd
[]
no_license
sasakisho/python
2f25b09db82309754f138b496735a58736b861bd
45892010cffb52866bd08fdd17236994d99bdc59
refs/heads/master
2021-01-20T06:29:32.505209
2017-05-02T05:29:52
2017-05-02T05:29:52
89,887,367
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
import random #str = {"","グー","チョキ","パー"} while True: com = random.randint(1,3) ply = int(input("グー:1、チョキ:2、パー:3 ")) print("com=",com," ply=",ply) if(ply == 1): if(com == 1): print("あいこ") continue elif(com==2): print("勝ち") else: ...
[ "sshou@systembase.co.jp" ]
sshou@systembase.co.jp
2d31bd6cb034de10a39b3cf3411ca4b73d910d4e
6b01cf04fd583ad821ce0c29efdd1eee6a6eb36c
/10daysStatistics/day0WeightedMean.py
4dbedf9e95c0dc17f818811076a971e5b6bed4ad
[]
no_license
hedayet13/practiceCoding
453d0fa99be4261159140d3d05f057984f056eac
79cebc92785058f3bc5655656236b427beb5cd79
refs/heads/master
2023-03-17T10:57:46.473764
2021-03-11T10:22:08
2021-03-11T10:22:08
276,454,922
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
lst =[1,2.3,4,5] print(lst[2:])
[ "islamhedayet67@gmail.com" ]
islamhedayet67@gmail.com
b3bf3a06e6df18a8d69fda1e98d00b80eb759424
c1c0684d6a292ba6ff672a991acb3a81b766fd83
/the_modules/subprocess/sub_call/example1.py
583cd7c978815ac3827f3d2eaf50153d61635f74
[]
no_license
chenc19920308/python_untitled
c75dd6885ef72926ff71a5f3b984d3bee64828ef
5ffec03ee5cb3692abb06eef6687a25b82e728d9
refs/heads/master
2020-03-18T21:58:09.247241
2018-05-29T15:27:17
2018-05-29T15:27:17
135,316,148
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
import subprocess print ("################## subprocess.call ###############") print (u"call方法调用系统命令进行执行,如果出错不报错") subprocess.call(['dir'],shell=True) # #父进程等待子进程执行命令,返回子进程执行命令的状态码,如果出现错误,不进行报错 # 【这里说的返回执行命令的状态码的意思是:如果我们通过一个变量 res = subprocess.call(['dir',shell=True]) 获取的执行结果, # 我们能获取到的是子进程执行命令执行结果的状态码,即res=0/1 执行成功或者...
[ "chencong192@168.com" ]
chencong192@168.com
da52d624ace9b40de13646230566d52bf7b6ba9c
ac39b8fddeb092324d63e3eda0e083da0a24ef46
/LearnSecurity/migrations/0008_auto_20160815_1508.py
ecdf0dcde0da4374df684ae103fbe1c86db6f77b
[]
no_license
CezCz/LearnSecurity
8bce1d6b38133d15dfe105be3718529907e3f2bf
40ca9f64f471db85c52712a40f15e9c6685a011b
refs/heads/master
2020-07-03T00:35:31.451200
2017-02-04T21:28:06
2017-02-04T21:28:06
74,207,794
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-08-15 13:08 from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('LearnSecurity', '0007_auto_20160815_1506'), ] ope...
[ "czarek.czernecki@gmail.com" ]
czarek.czernecki@gmail.com
20f1574ea5c294dcb2faad0799f85dc2559b77e4
fe7811b0c7dc311ecf7dfeb2f533225c09d21ac3
/node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi
c14fe4a0ab5a073bbbfbc1a7a651ee95febde4e0
[ "MIT" ]
permissive
jessedrg/lista-actividades
3592ab9ef3fc61ff275f40d65c8c23a1df9ba734
dafb5754d8fd1d784ad79fe9ea875eba72f5f98b
refs/heads/main
2023-05-15T05:21:44.537951
2021-05-30T07:06:15
2021-05-30T07:06:15
372,147,080
0
0
null
null
null
null
UTF-8
Python
false
false
5,741
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "76160818+jessedrg@users.noreply.github.com" ]
76160818+jessedrg@users.noreply.github.com
847428dbe3d202faf10a5e562519c1f606de2698
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/catapult/telemetry/bin/run_snap_it_unittest
288474f3a3d87e0d7a4684e5fbb8c7beafe91870
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
1,727
#!/usr/bin/env python # Copyright (c) 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys TELEMETRY_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..') sys.path.append(TELEMETRY_DIR)...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
d1bde920b1e734daefc323b4ba4c5edaf06f158f
2a80db83a93ab898ef4972f34d31e06fbe6ab2c5
/test.py
8629e9bda0a13e5b7def981ffc7a01e122b7a647
[ "MIT" ]
permissive
khalooei/holiday-checkup
1e8272de3b76a1eef66777f659a76a6a34e3a467
683ea8aeb9b3103ffd1c9bb3d21101cd08d431a9
refs/heads/main
2023-04-12T09:21:10.173869
2021-05-06T21:34:29
2021-05-06T21:34:29
365,010,533
0
2
null
null
null
null
UTF-8
Python
false
false
382
py
from SalavatiHolidayCheckup import HolidayCheck from hijri_converter import convert import jdatetime hc = HolidayCheck() specific_datatime = jdatetime.date(1400, 1, 1, locale='fa_IR').togregorian() print(hc.get_holiday_status_of_datetime(specific_datatime)) specific_datatime = convert.Hijri(1442, 8, 15).to_gregorian...
[ "mkhlaooei90@gmail.com" ]
mkhlaooei90@gmail.com
259d9c82c7a3f8b1eaad6a4ad7f776fc135aefa0
f848ba0b886d0f9788a959ef53ee2f3b17fe3048
/catalyst/contrib/data/transforms.py
3d3a71b778e12a5d273f9797ef2d2ebdb2d36e42
[ "Apache-2.0" ]
permissive
alyaxey/catalyst
d250e180267d395472101552c19f30207c4be16a
4b2e182a2acc6538a7768eb1a5c174245773c84d
refs/heads/master
2023-04-11T11:55:44.337373
2020-06-24T15:03:26
2020-06-24T15:03:26
273,520,003
1
1
Apache-2.0
2023-03-28T21:55:29
2020-06-19T14:57:02
Python
UTF-8
Python
false
false
4,910
py
""" This subpackage was borrowed from torchvision(https://github.com/pytorch/vision). """ import numpy as np import torch def to_tensor(pic: np.ndarray) -> torch.Tensor: """Convert ``numpy.ndarray`` to tensor. Args: pic (PIL Image or numpy.ndarray): Image to be converted to tensor. Returns: ...
[ "noreply@github.com" ]
alyaxey.noreply@github.com
77632dadb07288923599339f046b2e666610bf45
6679fd1102802bf190294ef43c434b6047840dc2
/openconfig_bindings/routing_policy/policy_definitions/policy_definition/statements/statement/conditions/match_tag_set/state/__init__.py
3afc3b819cdfb034d5fee85b9dba1b707dd4a68d
[]
no_license
robshakir/pyangbind-openconfig-napalm
d49a26fc7e38bbdb0419c7ad1fbc590b8e4b633e
907979dc14f1578f4bbfb1c1fb80a2facf03773c
refs/heads/master
2023-06-13T17:17:27.612248
2016-05-10T16:46:58
2016-05-10T16:46:58
58,091,515
5
0
null
null
null
null
UTF-8
Python
false
false
9,728
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "rjs@jive.com" ]
rjs@jive.com
cc7db9291a6b845cc18ac0c5621b3ac3019f67ca
4c62149fe5db6652a9ee90dbc6ae1f676f5ff71b
/src/LCExtract/utilities.py
91c5250888fcf202a368567b0e04d4a2303b9cc6
[ "MIT" ]
permissive
Pommers/LCExtract
a69d3721714836cab79b267a044b0b6341876cc3
e9cbe4f0057fd4288b2b9feba44135e4a32df65c
refs/heads/master
2023-07-14T10:33:04.291168
2021-04-22T06:13:11
2021-04-22T06:13:11
354,827,150
0
0
MIT
2021-04-22T06:13:12
2021-04-05T12:28:37
Python
UTF-8
Python
false
false
1,016
py
import itertools import sys import threading import time from numbers import Number class Namespace(object): """ helps referencing object in a dictionary as dict.key instead of dict['key'] """ def __init__(self, adict): self.__dict__.update(adict) class Spinner: busy = False delay = ...
[ "richard@the-poms.com" ]
richard@the-poms.com
5d6debb8875e78c9c69f8c9bcf19bac4b366f7be
f621926352a3dac1f8a3597206ff7412bb937531
/SW expert/늘어지는 소리.py
b45a2b6ce685cc77aff8e5a49b026d295aa0dc90
[]
no_license
leeseungkyung/algo
3953982d867f7d17700bbba0820565f3439c565c
722c4ce34282d106b2a8727460daea6c5775ab50
refs/heads/master
2021-02-10T15:06:17.689414
2020-06-04T07:35:47
2020-06-04T07:35:47
244,392,400
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
T = int(input()) # 여러개의 테스트 케이스가 주어지므로, 각각을 처리합니다. for test_case in range(1, T + 1): case = list(input()) h = int(input()) a = list(map(int, input().split())) a=sorted(a, reverse=True) for i in a: case.insert(i, '-') print(case)
[ "lee03190@naver.com" ]
lee03190@naver.com
b1d441760af7a3cffac97948b1f4f725896d5b45
8d88db74123300ddffd6765c700d57b1608e1a03
/ResolventSolver/Trajectory.py
67955a93ddaccd3205b1605733865f2abab2b378
[]
no_license
ZhouwenfengTyrantasteroid/ResolventSolver
dcf865ba7b564f074cc871453205f63f28dbcdb0
f28a791e7353c23bd266372c0f82a8cf794a689c
refs/heads/main
2023-08-31T21:40:38.872960
2021-10-16T16:32:08
2021-10-16T16:32:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,165
py
# This file contains the class definition for a general trajectory in some # vector space. import numpy as np class Trajectory: """ A trajectory in state-space stored as an array of Fourier modes. Attributes ---------- modes : ndarray 2D array containing da...
[ "tburton5572@gmail.com" ]
tburton5572@gmail.com
aa40b2684114f8c5371e199b70084f9b0e8c4d5d
ba658e913a44eef5f617dee9dac3b886c1b18f15
/ibex35/valores_app/migrations/0001_initial.py
01ef6685a0ba97e6866ca0171cd57da1b77538d7
[]
no_license
neburnodrog/Ibex-35-API
5381fa65957229aa64bd122a10bb7428e3de781e
cd84a93cb2e55b02c1d0b8de084d085373de7ebd
refs/heads/main
2023-01-20T05:17:11.291484
2020-11-25T16:31:48
2020-11-25T16:31:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
# Generated by Django 3.1.3 on 2020-11-24 19:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Valor', fields=[ ('id', models.AutoField(au...
[ "neburgordon@gmail.com" ]
neburgordon@gmail.com
ee76da57c2cc4d0bd87484b4750e15a5bf4c5e1f
38ec18dc1468783de4fe1da97c95afa38eba1533
/django_movies/app1/migrations/0011_rater_user.py
f4c282a9781b3ee339c3bfc38d273dd1273f222e
[]
no_license
pnitto/django-movies
ed739b328552f200eb8b831cb31e9f4d937ee15b
be77780f70e627db6d97e565708d855976a3bfa8
refs/heads/master
2021-01-14T12:20:50.004963
2015-07-07T02:02:29
2015-07-07T02:02:29
38,266,572
0
0
null
2015-06-29T19:22:59
2015-06-29T19:22:58
null
UTF-8
Python
false
false
523
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app1', '0010_auto_20150701_2159'), ] ...
[ "pnitto18@gmail.com" ]
pnitto18@gmail.com
f80388165117e45e1386c6e6162d5b22114a3d47
d0539a16586a9196bfda01c545b496a9336e066d
/scraping_scripts/cochrane_pubmed_mapping.py
23bbc5b9ecfb7f2527d97686a3ab3b15015ff81f
[]
no_license
ebenjoseph/deepmed
7bb22bd53e3222085e14a5df08d46000c21c9bc8
3a227c64eef3f6ee76dacbd5498261081109390c
refs/heads/master
2020-04-05T14:05:33.986963
2016-09-19T03:18:43
2016-09-19T03:19:58
59,232,353
1
1
null
2016-08-09T19:17:23
2016-05-19T18:37:43
Python
UTF-8
Python
false
false
19,551
py
#Searches pubmed for the title of a study, checks that there is only 1 result, then confirms that the year matches. #If there is a positive match, the script collects the PubMedID, metadata, and full text links #It also tracks which Titles/UniqueIDs have already been added to the output file and skips them import loggi...
[ "natewilson@Nates-MacBook-Air.local" ]
natewilson@Nates-MacBook-Air.local
31c3f2bc5315b2434eb174584967b7ab73413cea
a85777a069297c252bb35be0ea2dc755779c9ad0
/courses_manager/urls.py
eb7409eac3af375b39c1e142895200e0b58b3db4
[]
no_license
igornikanovich/online-manager
cd2c1cb061dc3f5f71aaba3698f4a103260902c9
d33779f4178798185bc558c259440957e9ba147d
refs/heads/master
2022-12-08T23:58:15.702888
2019-11-01T13:06:21
2019-11-01T13:06:21
218,158,439
0
0
null
2022-12-08T06:47:45
2019-10-28T22:40:29
Python
UTF-8
Python
false
false
1,114
py
from django.conf.urls import url from django.contrib import admin from django.urls import path, include from drf_yasg.views import get_schema_view from drf_yasg import openapi from rest_framework import permissions schema_view = get_schema_view( openapi.Info( title="Snippets API", default_version='v1',...
[ "ignikanovich@gmail.com" ]
ignikanovich@gmail.com
e1519e2d2922f3e4f795489565e7f93deeacad01
1d2a25c5a2773553fadfd0c2ca2b1f58eb920574
/venv/bin/jupyter-kernelspec
750dc10229efb605706ce5924f21032d821c3bbb
[]
no_license
uygaryo2/Per-Title_encoding
2a750b2817e87ecae352b7ba9657b50aac0af0c5
a80f9d191e8c8af9d249f8795a26aafb65ac25dc
refs/heads/master
2022-10-13T15:37:36.772754
2019-07-09T09:16:20
2019-07-09T09:16:20
186,696,185
10
0
null
2022-06-21T21:58:43
2019-05-14T20:34:17
Python
UTF-8
Python
false
false
312
#!/Users/sezin/PycharmProjects/Per-Title_encoding/venv/bin/python # -*- coding: utf-8 -*- import re import sys from jupyter_client.kernelspecapp import KernelSpecApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(KernelSpecApp.launch_instance())
[ "sezinsezgin1@gmail.com" ]
sezinsezgin1@gmail.com
0dc165a9e8635b418496114fc62d3564c34a9886
80746c538d3d649fe84d6c1a37d9739228d658a8
/core/api_views.py
bb6a7c0f555a5330c25ecf8e86276bad0f78ccd7
[]
no_license
SnappGaming/FileShop
50a256d7bd63f1f1b154c8b7f851f444c6f9a4ee
ae9afeb4b0220e481beedcd12a0418cf2ea98a0a
refs/heads/master
2023-07-26T13:53:20.706578
2021-08-31T06:36:49
2021-08-31T06:36:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,395
py
from django.shortcuts import get_object_or_404, reverse from django.core.validators import validate_email from django.core.exceptions import PermissionDenied, ValidationError from requests.api import request from rest_framework import generics, status from rest_framework.permissions import AllowAny from rest_framework...
[ "thisisayushaa@gmail.com" ]
thisisayushaa@gmail.com
4e2d44d096408a816838502d7c6b3b8ddca6a483
737a67744a98a536eccf5e2012628271f9120f79
/django/integration/apps/coursesApp/urls.py
6d242cf48c1525964f3352f9758845e37abff9d8
[]
no_license
iota-cohort-dc/Daniel-Perez
31d581cf6494d69404925685ca55ec9a9b97611c
57b6a69e4f6e02f8b0694787ab195e08ad5dc52b
refs/heads/master
2021-01-20T16:59:30.730460
2017-07-03T04:12:16
2017-07-03T04:12:16
82,850,732
0
1
null
null
null
null
UTF-8
Python
false
false
443
py
from django.conf.urls import url, include from . import views urlpatterns = [ url(r'^$', views.index, name= "my_index"), url(r'^addcourse$', views.addcourse), url(r'^remove/(?P<id>\d+)$', views.remove, name= "remove"), url(r'^remove/nah$', views.nah), url(r'^delete/(?P<id>\d+)$', views.delete, name...
[ "perez0231@yahoo.com" ]
perez0231@yahoo.com
047b4e987fbda8f11734ed7c999d5776a8ab9eff
efa84f8a83bcf62f1c3b8b183cfe7e9d18dd2274
/inicio/views.py
b7b4989b5fcc82bfc67189bc3b38816b32913fd1
[]
no_license
comunidad/comunidad
25815210175af45386d12a60fa7acb6c71da7317
76dcaf1c9cd27669d9213f855f5c274895566ddb
refs/heads/master
2016-09-15T23:03:37.461476
2014-04-03T20:51:31
2014-04-03T20:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
from django.shortcuts import render_to_response, render from django.template import RequestContext from django.http import HttpResponse, HttpResponseRedirect, response def inicio(request): usuario = request.user return render_to_response('inicio/index.html',{'usuario': usuario},context_instance=RequestContext(reques...
[ "jordanzet@gmail.com" ]
jordanzet@gmail.com
f6348d0b72dc155330508be752dc840819e56af6
144b2cd272ccfdee88e44ea9d9c9d5b9d5e0f10a
/src/apps/news/frontend_articles.py
9b68b7d64d9d8e05293c92377b095202bddf336c
[]
no_license
taerwin/redmap-org-au
9aef2735cedf593b571d4ae05c4b17b35c724e0d
8d727ef156a8fba79dae02494642530f1acaccf1
refs/heads/master
2020-04-05T04:28:39.458909
2013-03-08T05:08:18
2013-03-08T05:08:18
37,229,395
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from django.conf.urls.defaults import * from news.views import ArticleView urlpatterns = patterns( 'article', url(r'^(?P<slug>.*)/$', ArticleView, name='article_view'), )
[ "olivergeorge@gmail.com" ]
olivergeorge@gmail.com
fe2a9c358cea73e24517be3faf5332941075728f
7f706ec1f1c68184e4cb27efb7011ce5adbbb7c8
/source/input_error.py
7da0f5e36f4d7bdbbb300db26cf278f35f79d902
[]
no_license
DrewWeth/Etsy_Proj
28bc1ac360b13ed4c2564be3e3cda4e72d8c3117
f54273978b3c628254dad3726e08fe8dffc25dae
refs/heads/master
2021-05-01T21:27:26.260997
2016-11-03T05:39:36
2016-11-03T05:39:36
72,502,238
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
class InputError(Exception): def __init__(self, *args): self.value = ' '.join(map(str, args)) def __str__(self): return repr(self.value)
[ "dgwetherington@gmail.com" ]
dgwetherington@gmail.com
0973e303387c642ff368400ddf1818de97ed61e4
454e3eea5e0c231c9e0d282a1f4d12f96fd48d2e
/vislice.py
9000cce719f0797714a4f566edade6f22e7ea6a7
[ "MIT" ]
permissive
ZupancicMatej/Vislice
7bab16ae6382fb3aa956b5923c38c0e62b7e56d6
a053e24a3b236b21477e809d06ce0079cf5e92ea
refs/heads/master
2022-12-06T18:44:22.318063
2020-08-25T10:38:40
2020-08-25T10:38:40
261,460,281
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
import bottle, model SKRIVNI_KLJUC = 'Uganil si najbolj skrit ključ vseh časov.' DATOTEKA_S_STANJEM = 'stanje.json' bottle.TEMPLATE_PATH.insert(0, 'views') vislice = model.Vislice(DATOTEKA_S_STANJEM) @bottle.get("/") def index(): return bottle.template('index') @bottle.get('/img/<picture>') def static_file(pic...
[ "matej.zupancic.187@gmail.com" ]
matej.zupancic.187@gmail.com
842fb2d463be662ae8287ffdcf8036943afe3972
06a34c24f91fe5b6f7511290c423cd0f574c309a
/two/categories/models.py
e880e7f66a60ad5939b7c2336de9b8dacb30de39
[]
no_license
memoer/nomadcoder-challenger-airbnb-django
d3916f82891a75f56cf3e0dcf2c906bc74b4ba94
07158c406e33ed48f410454883bf341335f7b8ec
refs/heads/master
2023-02-14T04:40:56.185206
2021-01-07T17:19:52
2021-01-07T17:19:52
327,678,663
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
from django.db import models from core import models as core_models """ Here are the models you have to create: - Category name kind (book/movie/both) """ class Category(core_models.TimeStampedModel): KIND_BOOK = "book" KIND_MOVIE = "movie" KIND_BOTH = "both" KIND_CHOICES = ( (KIND_BOOK, "...
[ "hanjn2842@naver.com" ]
hanjn2842@naver.com
16d3dcfb87619f27adf5368a93a879583955a7e4
b84bf301f318b6869d1cff2dfa670e9bffc52fc6
/flask_test/sql_test.py
9d2e9ac4ac8c4a90c58b8489128847cbaf5320c9
[]
no_license
cui7616/first
de33d6a3d984c08fbd664ff988b9d04ec605448f
83f3422570b22571ae2f5e577de6b8b50b41ecb1
refs/heads/master
2020-04-05T21:03:38.900897
2018-11-12T12:27:23
2018-11-12T12:27:23
157,205,846
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 11 11:40:10 2018 @author: czmy """ import pymysql from sqlalchemy import create_engine import pandas as pd connect = create_engine('mysql+pymysql://root:cuizhen@localhost:3306/uwb?charset=utf8') pd.io.sql.to_sql(database,'databse',connect,schema='uwb',if_exists='append')...
[ "18810906151@163.com" ]
18810906151@163.com
14a71d44b821acf98471c1793c6519564bfb9a51
76569c8ac1b94e7872132728ada6ed5d5a5f7263
/UI_Framework/__init__.py
63c1d1f988b3670775dc9d8b5d1a97e7c83f6762
[]
no_license
wushuang-cn/hogoworts
b63b66693034ace3489df76e50c125a86d6dee52
6b3a5cc6ce8b04b0318ca426a6bab36c2378049b
refs/heads/master
2023-06-15T22:42:28.087692
2021-07-11T10:29:25
2021-07-11T10:29:25
342,494,225
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
#! /usr/bin/env python # -*- coding:utf-8 -*- # date:2021-03-12 11:09 # author:WuShuang5
[ "wushuang@qq.com" ]
wushuang@qq.com
4597f1e2e257ceefb60a45c4aaf2c97df6ad2444
17d68fd18f56b0dc0868dd09c023ed7d939445a4
/labs/src/lorawan-nano-gateway/node/main.py
586689e550de0598456c19f84088cdf7fd31b424
[]
no_license
marcozennaro/iot-uaa-isoc
770614c23a8d9bd93b38496c1107518357065d95
5284f94df26c6d0ebf5aa44c66f37963c45c6df4
refs/heads/master
2021-01-23T16:53:47.008230
2017-09-07T11:29:46
2017-09-07T11:29:46
102,751,582
0
0
null
2017-09-07T15:07:11
2017-09-07T15:07:11
null
UTF-8
Python
false
false
1,469
py
""" OTAA Node example compatible with the LoPy Nano Gateway """ from network import LoRa import socket import binascii import struct import time # Initialize LoRa in LORAWAN mode. lora = LoRa(mode=LoRa.LORAWAN) # create an OTA authentication params dev_eui = binascii.unhexlify('00694156A5471B72'.replace(' ','')) app...
[ "franckalbinet@gmail.com" ]
franckalbinet@gmail.com
985e07d5d52b8101f2054d267b452b5d3d8e17d9
8d9bd54ea1642f78b20e89e7197e35de1390b808
/problem575/problem575.py
f0d095d541cd68cc7a0b12777949564bc12f32a9
[]
no_license
nanjakorewa/MyLeetcode
6511e59a19b957e62eb3e62a38f9c5f0296a473d
4c98264a880e9fdfadeb888226ffbe990568fb33
refs/heads/master
2022-04-12T12:13:59.302383
2022-03-28T06:43:32
2022-03-28T06:43:32
208,409,732
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
class Solution: def distributeCandies(self, candies: List[int]) -> int: return int(min([len(set(candies)), len(candies)/2]))
[ "arukuhoriguchi@gmail.com" ]
arukuhoriguchi@gmail.com
a6ccdabf25478b632e6731a32f33b67960c479e9
faa856f1cbdd57a5dc4634c3ff6bd01baaca62b8
/tableros/migrations/0008_auto_20201004_2357.py
7bc9664ccb217f6444a08fe52cb4f93f20b81d92
[]
no_license
nelsonpenha/NNHR_PP2
98284ec1efee93c6939a2e3c4271edb7b9d01e3d
481477a8f66d4bc24481527389baea1acc847566
refs/heads/master
2023-02-17T10:36:29.890954
2021-01-15T20:26:44
2021-01-15T20:26:44
296,743,006
0
0
null
2021-01-15T20:26:45
2020-09-18T22:37:23
Python
UTF-8
Python
false
false
1,335
py
# Generated by Django 3.1.2 on 2020-10-05 02:57 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tableros', '0007_tarjeta'), ] operations = [ migrations.CreateModel( name='Fases', fields=[ ...
[ "nelsonpenha10@gmail.com" ]
nelsonpenha10@gmail.com
70db7b9152f138caa09c16117577af4c0a45a6ca
9a9950616e0b4baa548a50eb4db58141e5a7d744
/test.py
fc0ee7c029dbb871c6075d7a2fadf24d55841603
[]
no_license
NCL-LIMIT/RABT-rainfall
6c51ba646e8fbb567e6690d7f0b36075d226a38d
e60f64df3c895d553acf62d67a37d98f2f6f7d38
refs/heads/main
2023-04-03T02:39:33.627162
2021-03-24T11:27:22
2021-03-24T11:27:22
317,844,460
0
0
null
2021-03-24T11:27:23
2020-12-02T11:44:39
Python
UTF-8
Python
false
false
69
py
def hello(event, context): print(event) return event['data']
[ "nkc124@ncl.ac.uk" ]
nkc124@ncl.ac.uk
520194aa7cbe54c13c5886ca3b5a0c3f833c6097
ebfd7b5a5de933f074ccc08583b41c8a1e34f643
/bccc/client/channel.py
ea6d368478cfcfd13f21238bef1377fefce38001
[ "Apache-2.0" ]
permissive
Schnouki/bccc
92f90c67fe63da83da14700061888059e02de3d1
c3143e8b4b2a81393ed59b046ce6e353007314e8
refs/heads/master
2016-09-10T18:00:48.132575
2012-10-30T10:23:23
2012-10-30T10:23:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,302
py
# Copyright 2012 Thomas Jost # # 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, ...
[ "schnouki@schnouki.net" ]
schnouki@schnouki.net
4135c8b2ebcd5938ccfb85de98194737134f303f
e6822cc0213b376f4a03c9b53cf6d516ec90dadb
/eventex/core/models.py
d406707d6aba1369fbe456da06081182363b7b0b
[]
no_license
miquelini/eventex
15c20264edaa5ad2e6a21d45328ad9e15af47d7c
51ed2101dbae461010a7da920e892d4e8b3b00b8
refs/heads/master
2016-09-05T10:57:13.421486
2013-05-22T17:32:23
2013-05-22T17:32:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,397
py
# coding: utf-8 from django.db import models from django.utils.translation import ugettext_lazy as _ from eventex.core.managers import KindContactManager, PeriodManager class Speaker(models.Model): name = models.CharField(_('Nome'), max_length=255) slug = models.SlugField(_('Slug')) url = models.URLField...
[ "antoniomiquelini@gmail.com" ]
antoniomiquelini@gmail.com
b6bc5885b935c612f5064b8d00b3d7925617802f
01b01d1a4bac32fbe0421e1962daae4605f5378c
/app/drf_project/settings.py
b2616529155158a8cd35cc5323aaa55845d875de
[ "Apache-2.0" ]
permissive
khazelton/django-tdd-docker
393359b238c1499d8f5dafc0d8e164cadbf46ba4
970846fbcdda9176d47f1f6ec4dd045d779e679d
refs/heads/main
2023-05-28T05:46:27.607041
2021-06-10T02:33:03
2021-06-10T02:33:03
375,543,426
0
0
null
null
null
null
UTF-8
Python
false
false
3,164
py
""" Django settings for drf_project project. Generated by 'django-admin startproject' using Django 3.1.5. 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 pat...
[ "" ]
39a69bda9c3a5974ce20f69b45032e8e56118d3b
82c4a9489318d5740eb2b6ec42b84404a96dafbb
/tools/ntu_gen18_joints_data.py
b6e5d82f917586eeb1f614657e7aeff1c5b44155
[ "BSD-2-Clause" ]
permissive
SKBL5694/guard
26dc217d009200cb10885ae2458b8a1bdc7c5153
55fa719197b08e11729a5dcc48418c49bd142f4a
refs/heads/master
2023-04-12T14:37:48.747624
2021-04-26T08:22:27
2021-04-26T08:22:27
361,659,086
0
0
null
null
null
null
UTF-8
Python
false
false
4,071
py
import os import sys import pickle import pdb import argparse import numpy as np from numpy.lib.format import open_memmap from utils.ntu_read_skeleton import read_xyz from utils.ntu_read_skeleton_new import read_xyc training_subjects = [ 1, 2, 4, 5, 8, 9, 13, 14, 15, 16, 17, 18, 19, 25, 27, 28, 31, 34, 35, 38 ] t...
[ "1776539381@qq.com" ]
1776539381@qq.com
722b57c78a30f9c81869bfc7ed632dad388fd1c2
e794830865d3b7f3b655a87f7830501d1728a2b1
/blog/models.py
257809642007767922685aa9aaa1068ba5c5ad11
[]
no_license
wooyeon11/pyneersat1
c30f63046ed94dae790256498b5b2a937ad90dea
fbd210b7a68418599199f2fac7f6c4bc971dcbaa
refs/heads/master
2020-03-25T04:08:16.420594
2018-08-03T10:03:44
2018-08-03T10:03:44
143,379,303
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( default=timezone.now) published_...
[ "woo4675@gmail.com" ]
woo4675@gmail.com