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
9980789508310896ed4e211680a129c0c3341f00
c3c0dae9048914fac0b3ed99f7e1fa6e9dfb1e88
/Scraping_Files/historical_weather.py
3570da173c8fe96500a9f0eaf8f52a037cf7840c
[ "MIT" ]
permissive
aoifeosullivan19/comp30670project
329b5bfa3fef689579e03234abdf544e9d0ac960
cabaa0939a7fe0629100413f1ac2500a2e2b389e
refs/heads/master
2022-12-13T23:03:50.506601
2018-04-20T10:14:31
2018-04-20T10:14:31
124,516,847
0
0
MIT
2022-12-08T00:57:29
2018-03-09T09:13:00
Jupyter Notebook
UTF-8
Python
false
false
3,764
py
import requests import mysql.connector from mysql.connector import errorcode import sqlalchemy from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String from sqlalchemy.orm import sessionmaker from sqlalchemy import * import csv Session ...
[ "aoifeosullivan19@gmail.com" ]
aoifeosullivan19@gmail.com
7b33538339fad6713ad622528395ec80bb315457
1ed683e31cbac08f9b3aa69addd3ef161138d648
/hs_student.py
c5d0ceb71fd668e677b3712b13419e1acd968027
[]
no_license
nicolecpeoples/pystudentmanager
bfb3fe549158cf77a7c69fb274aa0a367a797488
61fab982d056b7d0c8ed8cd627a43230984224b1
refs/heads/master
2021-01-21T11:56:36.931423
2017-05-25T05:08:45
2017-05-25T05:08:45
91,764,308
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
class HighSchoolStudent(Student): school_name = "Lincoln High" def get_school_name(self): return "This is a high school student" def get_name_capitalized(self): original_value = super().get_name_capitalized() return original_value + "-HS"
[ "nicole.peoples@zonarsystems.com" ]
nicole.peoples@zonarsystems.com
e775b54c71ec0cdd966af1fb9e2f85aeab8aefe3
d82464d9e777236eeeaaf60d9f36ee3aae16d8e4
/custom_components/genius_lyrics/sensor.py
08ac8fa041f9ac13faab689c3811d2701a3f4038
[]
no_license
baj24/genius-lyrics
43618f5bce67e801a76472e488e8195f9fea3d96
e9e8b244f5539228a61828a70bbcc85c6b1671f8
refs/heads/master
2022-03-14T01:47:28.106713
2019-12-05T16:30:15
2019-12-05T16:30:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,005
py
"""Sensor platform for the Genius Lyrics integration.""" import logging import voluptuous as vol from homeassistant.helpers.config_validation import entities_domain, split_entity_id from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_state_change from homeassistant.cons...
[ "ralfaro@nacaplaca.com" ]
ralfaro@nacaplaca.com
c6574a4927408f432f540dea185144414e8491b7
99477960a0c4061e5f18d3ed06732ef257a890a3
/gstr_efiling_report/wizard/gst_tax_data.py
1b29861257ba062a9cf068e7cba26c86c017f61c
[]
no_license
hafzalabbas/gst_modules
12a0a33439e71c9d20f71e455133ed7c16fdfc66
aeeb3f31c75df57308f05344b9a81d81863112d2
refs/heads/master
2022-09-26T01:07:32.851684
2020-05-01T07:19:58
2020-05-01T07:19:58
259,570,555
0
0
null
null
null
null
UTF-8
Python
false
false
3,510
py
################################################################################# # Author : Webkul Software Pvt. Ltd. (<https://webkul.com/>) # Copyright(c): 2015-Present Webkul Software Pvt. Ltd. # All Rights Reserved. # # # # This program is copyright property of the author mentioned above. # You can`t redistri...
[ "noreply@github.com" ]
hafzalabbas.noreply@github.com
9c94c7a5830ab9c2d4e2950ec2ffc1b9f9499991
73cd83eb7c53e7322089094b521261a43830ce5c
/resources/user.py
0902ee5e85f799fe6870f009794909dece00de20
[]
no_license
jalajrastogi4/testing_flask
8e34f69275db85c55b86de6880f4e8490583d7f0
b9a49b9e2a307ce8a7537649d94a306681eff014
refs/heads/master
2020-06-07T07:55:23.540564
2019-06-20T19:51:48
2019-06-20T19:51:48
192,966,836
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
import sqlite3 from flask_restful import Resource, reqparse from flask import request from models.user import UserModel class UserRegister(Resource): parser = reqparse.RequestParser() parser.add_argument('username', type = str, required = True, help = "This field cannot be blank" )...
[ "jalajrastogi4@gmail.com" ]
jalajrastogi4@gmail.com
f9d41ee64e74219c6295b1fadfcb09ba3c826f4b
77444e848be014d0eb4ede931c520cf256458795
/index.py
60f41c33e3910c5e4c5d6a1529c27e26c1d26755
[]
no_license
pavluntiy/simple_boolean_search
f066f5c16f7afc5e4271dec3ce8e5289fb2320ac
94f7ff389c5b6a34c28809eb8d17c8a48679a37b
refs/heads/master
2021-01-11T10:18:08.946156
2016-04-11T17:13:53
2016-04-11T17:13:53
72,509,844
0
0
null
null
null
null
UTF-8
Python
false
false
4,678
py
import struct from docreader import DocumentStreamReader import sys import os from collections import Counter, defaultdict import re from varbyteencoder import VarByteEncoder from simple9encoder import Simple9Encoder class Indexer: def __init__(self, encoder_class): self.encoder = encoder_class() ...
[ "itasarom@gmail.com" ]
itasarom@gmail.com
4717637c4e59644e46dcbc13df78bdcdb5aa35ec
c7a85d397ea0579ae950212a61f655ee23a3be25
/Client.py
a7529e6644e2155d8091577d9180fb18ca2ce3ed
[]
no_license
neeraj-satyaki/DHCP
a88af4f7ad7c8fafc372a974e444bd5bf962e178
90d76daad5a768402ed6fe34e30030f55e81acc0
refs/heads/main
2023-06-30T03:52:43.929620
2021-08-02T01:07:36
2021-08-02T01:07:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,022
py
import math import random import socket import time from threading import Thread import dhcppython MAC_ADDRESS = '8C:8C:8C:8C:8C:8C' ACK_TIMEOUT = 3 BACKOFF_CUTOFF = 120 INITIAL_INTERVAL = 10 LEASE_TIME = INITIAL_INTERVAL def dhcp_discover(): # message = b"your very important message" options = dhcppython.o...
[ "amzarrinnezhad@gmail.com" ]
amzarrinnezhad@gmail.com
9399c9273cd93034db22b32eba2127b884c75e9e
4869c5e4d4b5ba6af434b62a2369ed58891c4eb0
/addons/plugin.video.fen/resources/lib/indexers/dialogs.py
806f73f4a98af300d972b66eed68208ef5f003b4
[]
no_license
JohnnyBlackwater/Zephyr-mod
1bd73a04549da83965a0979a1957ab4f98b03a6d
2e9472793b45287b1114221f5dd1674ce886bca1
refs/heads/master
2023-08-31T22:54:47.827433
2021-11-15T03:01:01
2021-11-15T03:01:01
428,104,158
0
0
null
null
null
null
UTF-8
Python
false
false
35,327
py
# -*- coding: utf-8 -*- import json import metadata from windows import open_window from modules import kodi_utils from modules import settings from modules.source_utils import clear_and_rescrape, clear_scrapers_cache, rescrape_with_disabled, scrape_with_custom_values from modules.nav_utils import open_settings, clear...
[ "Johnnyblackx3@aol.com" ]
Johnnyblackx3@aol.com
efa60559837314e3d42c6f282b9075d609ec93c6
3444158794a799261fa919eb3a93c7800a5a98ca
/classification/classifi.py
fb7162320b19e54a75171d8fcf07b1df98c9247d
[]
no_license
Israa-Magdy/test
d5ebab4c0046404ecde1add18da474748197b651
07fe8165bf84ad7f8a8d5eb9678f319d8bb6626c
refs/heads/master
2020-08-13T02:00:14.112009
2019-10-13T22:05:24
2019-10-13T22:05:24
214,886,310
0
0
null
null
null
null
UTF-8
Python
false
false
3,566
py
import xlrd import operator import math class Node: item=str() frequence=int() prop=float() def __init__(self,item): self.item = item self.frequence = 1 self.prop = 0.0 def Get_prop(self): return self.prop def Get_frequence(self): return self.frequence ...
[ "israa18.magdy@gmail.com" ]
israa18.magdy@gmail.com
171634c5083e03b67d1ba52d9da286c9e8967ed0
ebdf8ff635f0a1e5045f17e8d5d44bafbf033860
/model.py
6ac5d20965fa69a05a404dbac36b8ac2f9d61e93
[]
no_license
lifengleaf/Identify-Fraud-from-Enron-Email
f082c279375e1691bc8ab735b7dcca5ae0fb18a6
beda966d6365a4aeaa254ed4f99a4a172f96dc32
refs/heads/master
2021-01-09T20:39:54.618157
2016-06-30T08:01:26
2016-06-30T08:01:26
62,282,845
1
0
null
null
null
null
UTF-8
Python
false
false
3,604
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 27 18:44:30 2016 @author: Leaf """ import sys sys.path.append("../tools/") from sklearn.naive_bayes import GaussianNB from sklearn.linear_model import LogisticRegression from sklearn.svm import SVC from sklearn.tree import DecisionTreeClassifier from sklearn.neighbors imp...
[ "lifengleaf@gmail.com" ]
lifengleaf@gmail.com
629fd21c586ab42cccdaef4701c00cc13d63ddc6
9042bdd3a4dfbb9de08a1f1729e3bbc8203a795c
/nueralNet.py
f56b990dc809cfea00979d5a9bb5186df4c86d11
[]
no_license
reachkritz/MLBeginner
156ccc6647667ee56f9d89fbb8d92eaa9d670c8b
4ff0d0fdaa5be95f1b4c205d2333506c92d8db32
refs/heads/master
2020-09-27T01:29:40.491229
2019-12-06T18:57:27
2019-12-06T18:57:27
226,390,747
1
0
null
null
null
null
UTF-8
Python
false
false
1,768
py
from sklearn.neural_network import MLPClassifier import pandas as pd import numpy as np from sklearn import preprocessing,cross_validation from sklearn.utils import shuffle #Reading training data set df = pd.read_csv('fordTrain.csv',sep=",",header=0,usecols=['IsAlert','E8','E9','V11'],nrows=350000) #Dividing it into ...
[ "dwivedi.kriti2@gmail.com" ]
dwivedi.kriti2@gmail.com
c0890fb08e18d30c72226789f2fee29bfea5072c
3357620d0f645665ee407b92ee80a183464a30b7
/mysite/settings.py
cc5b5f94a21a9822931127edaa05fa934cde90f0
[]
no_license
bc2h-bis/django-api
56d4b2d60735f187b4a13d8595fe1ebc278ca995
5f7f8e18a2923bd5eb5939eb43527ca43cf7efef
refs/heads/master
2022-11-05T11:47:28.973202
2020-06-21T20:58:10
2020-06-21T20:58:10
273,981,479
0
0
null
null
null
null
UTF-8
Python
false
false
3,298
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os CO...
[ "bchheangsun@gmail.com" ]
bchheangsun@gmail.com
9a61101f2c5c0657e4aedfe361c44807a7465aa6
e522eda0f3670bc5b63570b294eaafc1cc6cf2aa
/cal2.py
daaace2778cbfb68e468f5abf281808ca38a9b9d
[]
no_license
Harfho/Script_coded_while_learning
8f4b6a43787c344a3760a0047aaf7db5777510f0
07c1980cfe7cb251a85ace193cd3a809718d8d0b
refs/heads/master
2020-05-03T10:51:45.476494
2019-03-30T17:23:49
2019-03-30T17:23:49
178,589,081
1
0
null
null
null
null
UTF-8
Python
false
false
7,211
py
#!python 3 #author-Harfho #calculator from tkinter import * import Pmw class SLabel(Frame): """ SLabel defines a 2-sided label within a Frame. The left hand label has blue letters; the right has white letters. """ def __init__(self, master, leftl, rightl): Frame.__init__(self, master...
[ "noreply@github.com" ]
Harfho.noreply@github.com
b00c71f954909ce4a0bcdad20add93793170a3ea
430f73d6eb803741c73dfa05b2460dbdc5a2841d
/hmm/wsgi.py
8d4a1b638ea4cf00f5c4603626edb4a711e8faae
[]
no_license
Mogmi95/hmm_le_site
e6f53610974107de505fe0feeae070c3294c9e6b
b323ee420977121ff709e5b7071e856efeba529e
refs/heads/master
2022-11-26T05:10:41.190690
2020-06-28T12:00:24
2020-06-28T12:00:24
3,950,056
4
1
null
2022-11-22T00:34:45
2012-04-06T13:58:04
Python
UTF-8
Python
false
false
1,136
py
""" WSGI config for hmm_le_site project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATIO...
[ "mogmi95@gmail.com" ]
mogmi95@gmail.com
5b5451db8c50ff61a68abf0e926e2717d703c310
5e381364c2ab31ff3618369085afffba6caa8edb
/recipes/ghc-filesystem/all/conanfile.py
a6f41d56f7d61a30937802fdd0e2b28998c42def
[ "MIT" ]
permissive
CAMOBAP/conan-center-index
16aea68a6d22da22831ba985773125e8eda08f00
67d57532bdad549fef3fa6cb8fcdfa86bc55e4f1
refs/heads/master
2023-07-30T08:58:57.285571
2021-10-02T14:57:54
2021-10-02T14:57:54
323,262,699
1
0
MIT
2021-05-29T13:37:04
2020-12-21T07:30:02
Python
UTF-8
Python
false
false
1,846
py
import os from conans import ConanFile, CMake, tools class GhcFilesystemRecipe(ConanFile): name = "ghc-filesystem" description = "A header-only single-file std::filesystem compatible helper library" topics = ("conan", "ghc-filesystem", "header-only", "filesystem") homepage = "https://github.com/gulra...
[ "noreply@github.com" ]
CAMOBAP.noreply@github.com
d4b764f7e831ff359baef34628a23243eba2602a
9e837aa38f10e564ea580c29cb9c84e7dd144402
/test.py
05c800512f5688204c600a5e344f0dfdaea637ef
[]
no_license
sagorkumarghosh/Begining_of_Python
baaabba33121db5dc18b54d94ab4a8798676c792
a2f86e3926fa8f67c088abcab7883501c0388651
refs/heads/master
2020-12-03T22:16:38.534326
2020-01-04T19:36:15
2020-01-04T19:36:15
231,503,575
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
Message = "Hello World" print(Message.upper())
[ "sagor.ghosh40@gmail.com" ]
sagor.ghosh40@gmail.com
9f6438b625d7cfc90592ccfd3800f1582dda0b7d
a8fceacec441df09b41fcadadeff69227565a203
/mysite/django-polls/polls/migrations/0001_initial.py
50440f3c26b0f6b30245c129f2dd45a2a69e9ba2
[ "BSD-3-Clause" ]
permissive
MorganReilly/Django_Polls_App
a37a714bae66a5923b1c09538a7d59a78b4ba91d
b92804e5781c196a6cadc8ffab67e5c1cb611ad2
refs/heads/master
2020-06-10T16:04:58.639280
2019-06-27T11:58:43
2019-06-27T11:58:43
193,669,402
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# Generated by Django 2.2.2 on 2019-06-20 13:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "G00303598@gmit.ie" ]
G00303598@gmit.ie
021133055a4a3778b9d9a1412114cb2bf5e6181f
4d982910f97c87af444352d6cc48d108dce0327b
/assignment1/cs231n/classifiers/linear_classifier.py
78103612d8a1780da520a6af5c2842e92fa0252d
[ "MIT" ]
permissive
ayush29feb/cs231n
a2748fb671fced780a72deba898667d7c9d7323d
155f411ee353eff3d46ecfff5fa9c6c37aa2afb0
refs/heads/master
2021-01-12T09:03:11.908371
2017-01-07T03:10:51
2017-01-07T03:10:51
76,744,874
1
0
null
null
null
null
UTF-8
Python
false
false
5,584
py
import numpy as np from cs231n.classifiers.linear_svm import * from cs231n.classifiers.softmax import * class LinearClassifier(object): def __init__(self): self.W = None def train(self, X, y, learning_rate=1e-3, reg=1e-5, num_iters=100, batch_size=200, verbose=False): """ Train this linea...
[ "ayush29f@uw.edu" ]
ayush29f@uw.edu
97faf4aed38139c78d6f2c95aabf7cb7d9d27600
a671ee6b79c61f420d1300d4b58d6e38c05cf656
/venv/Scripts/pip3.7-script.py
3e649914c547cb1265dbaf7726b5d63b9c2ff068
[]
no_license
nikmorror37/videostore
14cf08788f3a9fc85f0c9bfae76372958ad8e5ef
0615839b7af9ed7c20da41e840a9709e7a42096e
refs/heads/master
2022-11-08T01:30:09.369815
2020-06-03T16:38:08
2020-06-03T16:38:08
269,140,049
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
#!C:\Users\Nick\Documents\my_first_project\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "nikitamironchuk37@gmail.com" ]
nikitamironchuk37@gmail.com
67754bedba74af84796d423496b8f192424a3993
161d5d464973aac55442efe436e8fab16763b202
/rat-race/rat-race.py
4f5118b5c8c9cbe6d1d9eb7680cb5f8651312598
[]
no_license
jordanpaulchan/coding-challenges
e9671867aafb40787df17342c496f3e3df95f3b7
a0ee21d7dc5b472c22972d916cd9ad1386c66b78
refs/heads/master
2020-03-17T20:26:45.398799
2019-11-18T01:16:20
2019-11-18T01:16:20
133,910,060
20
8
null
null
null
null
UTF-8
Python
false
false
1,638
py
''' Libs included: underscore lodash chai sinon sinon-chai mocha async request q bluebird jsdom 3 mice: "Mouse marathon" 26 miles mouse 1: runs 1 mph mouse 2: runs 2 mph mouse 3: runs 3 mph 3 random starting points along the marathon race path 0 ... 26 Find the probability of which...
[ "jordanpaulchan@gmail.com" ]
jordanpaulchan@gmail.com
49071c7913cc900966d556580a56bc70dac1271f
a94a564c017e74e177a427261db0c944c29a8b9a
/utils.py
f342dd20b24245e0a12ac303c4f2ee20d0966339
[]
no_license
Hbodor/KernelMethodsChallenge
9632cfccc4244d2864d4d21ca7b7de41b7ea3c38
275c50fd18a887e83413e13dd64e75f488a658db
refs/heads/main
2023-03-31T22:04:07.986339
2021-03-27T00:41:44
2021-03-27T00:41:44
341,131,693
0
0
null
null
null
null
UTF-8
Python
false
false
7,210
py
# -*- coding: utf-8 -*- from numba import njit, typeof, typed, types, jit import numba import numpy as np import pandas as pd alph_dict = {'G':1, 'A':2, 'T':3, 'C':4} alph_dict_n = typed.Dict.empty(types.int8,types.int8) for key in alph_dict: alph_dict_n[ord(key)] = alph_dict[key] @njit() def get_neighbours(kme...
[ "hamza.bodor@eleves.enpc.fr" ]
hamza.bodor@eleves.enpc.fr
183611ac29eb22fef0ace8fc886bf34f6a42b118
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Non_Linear_Finite_Element_Analysis_of_Solids_and_Structures_Borst/pyfem-1.0/pyfem/solvers/Solver.py
2f5f42f519614cbfcae51e0f61b1ad62fe84b778
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
2,684
py
############################################################################ # This Python file is part of PyFEM-1.0, released on Aug. 29, 2012. # # The PyFEM code accompanies the book: # # # # 'No...
[ "me@yomama.com" ]
me@yomama.com
5b80fd002f0f429389f82658da7f4196dab59f60
9640f0b9a51ead702e1fc70c2571c116893f5046
/products/migrations/0004_auto_20201006_2154.py
04bb2798e01b633ba64b7ddc57eb2292697db4c1
[]
no_license
CODE-Easyy/optic-backend
d7f46194d91fa25e1d54c4a9cb88faac9ca57ba9
ed885265125b9d95be9467d95308964d25551230
refs/heads/main
2023-01-07T04:10:00.746112
2020-10-31T01:00:13
2020-10-31T01:00:13
302,156,695
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
# Generated by Django 3.1.2 on 2020-10-06 21:54 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0003_auto_20201006_2115'), ] operations = [ migrations.RemoveField( model_name='brand', name='cat', ), ...
[ "mr.esenyazov@gmail.com" ]
mr.esenyazov@gmail.com
484dd2614bc1998f472dbd8a6f1d1f0e21435d77
893c2a3edcbbb207982118b9b09bab3c5b5a912a
/ditto_complete/Snippext_public/snippext/train_util.py
3d17649d99daf32f7cedd109fcdda2d20ed1172d
[ "Apache-2.0" ]
permissive
Erica3969/Entity-Matching
c2be16fe77f1738557ebab092559e6c1f499e0d6
c94dac32e65abaf7bf34bcc7cacce8ea2d218a52
refs/heads/main
2023-04-19T08:56:57.218329
2021-05-10T07:29:39
2021-05-10T07:29:39
356,261,676
0
0
null
null
null
null
UTF-8
Python
false
false
8,749
py
import torch import os import numpy as np import torch.nn as nn import torch.nn.functional as F import sklearn.metrics as metrics import uuid from .conlleval import evaluate_conll_file from transformers.data import glue_processors, glue_compute_metrics def eval_tagging(model, iterator, idx2tag): """Evaluate a tag...
[ "myhong.le@relaxdays.de" ]
myhong.le@relaxdays.de
8f2f6ecc32daa61b5f5e9632ca2a876e1cb72fc9
1478ac71bc2a75cdc11e725d8282569dd775d52b
/models/user.py
8819c5404c48a848fa74a1dae4de82c8dd213334
[]
no_license
FrannyMendesLevitin/we-govern
0335fe757dd04f8137d47c78c737a6a16bbabf1d
3dcf9d474b1cfddaf7436b223b2514219b27db47
refs/heads/master
2021-01-18T18:18:41.068021
2016-06-25T00:55:51
2016-06-25T00:55:51
61,582,499
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
""" Represents the User database entity """ from argon2 import PasswordHasher from itsdangerous import TimedJSONWebSignatureSerializer as Serializer, BadSignature, SignatureExpired from config import SECRET_KEY from models.database_model import DatabaseModel, CharField class User(DatabaseModel): username = CharF...
[ "fmendeslevitin@gmail.com" ]
fmendeslevitin@gmail.com
857ef95fb96f13129204183246f69caa4252267d
4d07af33bd42510d72097e7518de8c8eccc54093
/blog/migrations/0001_initial.py
4c5d89457f996b3be6be0e47ddc6c7970c92a73f
[]
no_license
Simonm17/django_blog
aa8efe8bc64cc3c4565dbe8bee7401bceebde01b
f73216bd795a45cfc45fe5764c594abe280d54af
refs/heads/master
2021-07-22T18:38:25.905221
2021-01-15T22:15:26
2021-01-15T22:15:26
236,884,131
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# Generated by Django 3.1 on 2020-08-06 10:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_...
[ "ryanchuung@gmail.com" ]
ryanchuung@gmail.com
ea60fbccdb66bee9277463dd376bba7125850002
8236f6b5c27222fb88783c3cda16a8f07015a0cd
/src/plotter/points_to_info.py
430278ac2b202209040251982bc6a596ecfb7c6c
[ "BSD-2-Clause" ]
permissive
biomimetics/exploration
150ab63ad443ec54eea689c17d4d1cda9802bf0a
d77286a2875451de041c1b431df1bc8f59790d2a
refs/heads/master
2021-01-15T17:15:49.479706
2017-08-08T23:15:43
2017-08-08T23:15:43
99,744,121
5
1
null
null
null
null
UTF-8
Python
false
false
2,237
py
#!/usr/bin/python import sys import numpy from digifab import * def polymesh_volume(polymesh): stl_data = {'points':polymesh.points, 'faces':polymesh.indices} data = numpy.zeros(len(stl_data['faces']), dtype=stl.mesh.Mesh.dtype) data['vectors'] = [ stl_data['points'][idxs,0:3] for idxs in stl_data['faces'] ...
[ "austin.d.buchan@gmail.com" ]
austin.d.buchan@gmail.com
5f802a92d817bb6536a911bef002532abe703dd2
182d148e3229902105af8eaf3fbafc4abebc20bf
/Kalmykov_Practical_5/quest10.py
76c002a60c0ecfae3b103d5c430b3701261303bb
[]
no_license
Vampir007one/Python
4fecec7ca0eff078aa40f7a232be712de7ee04fb
bc1790f7d4382c6aca4acfc8ef6f6525698a56d1
refs/heads/master
2023-04-12T21:34:17.465161
2021-04-22T19:47:11
2021-04-22T19:47:11
343,942,875
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
chet = -1 number = -1 while number != 0: number = int(input("Введите число: ")) if number % 2 == 0: chet += 1 print("Количество чётных элементов:",chet)
[ "kavani4@yandex.ru" ]
kavani4@yandex.ru
612ca991bde89d530e1b261c0448a788eb8c71dd
022b7dbdb7c5563bee1e1c656249c250baa79544
/linked_list/exceptions.py
a892d8a7a26c4eb94b13a326b3e2275ed1efc137
[]
no_license
marquesds/data_structures
6f6dc952cdced5ad16f1b17a118ea3d88457998f
1cfedd4189ba38e50b25ee731016cc5d69c492a6
refs/heads/master
2021-08-30T07:22:11.846231
2017-12-16T18:06:08
2017-12-16T18:06:08
114,476,165
1
0
null
null
null
null
UTF-8
Python
false
false
99
py
class EmptyLinkedListException(Exception): pass class NotFoundException(Exception): pass
[ "lucasmarquesds@gmail.com" ]
lucasmarquesds@gmail.com
949a8c8c724cfc1935bad3f076cde9b9a462fbd0
808c94d87e1d1266f3adc57c755134b191cd5f8f
/parsePfamResults.py
3afeddc6d03ffbdaedb7468612574a4de1be3def
[]
no_license
riteshkrishna/RK_Utility
4ab0e79f52d48b69e7e62fab1cfb4a1eb81801f5
73608e1b9ee010e1bf9ae4d7e4b52cd56f0fc14f
refs/heads/master
2020-05-31T16:06:42.184221
2015-08-06T17:26:14
2015-08-06T17:26:14
40,238,994
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
__author__ = 'riteshk' def parsePfam(pfam_file, processed_output): fin = open(pfam_file) fout = open(processed_output,'w') part_lengths = set() contig_names = {} for line in fin: if line.startswith('#'): continue if line in ['\n', '\r\n']: continue ...
[ "ritesh.krishna@gmail.com" ]
ritesh.krishna@gmail.com
b576a164b806e1a163aa18c36c54909b2260d1be
01ef6c69d0edf648124c165876369a11991a4586
/Scheduler.py
8d264c29ef80c472df8a1050243cc518eca12fac
[]
no_license
hrmoradi/cloud_job_scheduler__time_sensitive
e329ce1fb04f893e31b4d79a2e368e8af52ab915
4b0dc769912ddcc0bdd8af678c8bcfd3f9683bcd
refs/heads/master
2023-04-07T13:40:17.417895
2023-03-30T05:18:42
2023-03-30T05:18:42
113,491,058
0
0
null
null
null
null
UTF-8
Python
false
false
57,573
py
import SchedulerEmulator.Settings as Set import time import copy class ClassSchduler: once2=0 def MainScheduler(self,jobList,resources ): self.jobList=copy.deepcopy(jobList) self.resources=copy.deepcopy(resources) print("\nMainScheduler") #print(len(Set.jobList)) ""...
[ "hrmoradi@gmail.com" ]
hrmoradi@gmail.com
a216582a7342562df7678c96332cdb112eccaa68
78bb5aa205921286b86204840ef022427143b5e1
/Python/APIProject/Basic/two.py
87f11048b25e5e2f37597f24ec31d3479f4d96ae
[]
no_license
liuzhengxing/Test
341d360d104232e5270b99bf084bdefad7282780
750e1121fc1a2e5fe9cd54885ee673d3fed404c8
refs/heads/master
2020-03-23T07:02:02.396728
2018-08-07T09:14:53
2018-08-07T09:14:53
141,244,152
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
# encoding: utf-8 import Basic.one as o # two = o.ClassOne() # two.func() from Basic import one from Basic.one import ClassOne from Basic import * from Basic.one import * from Basic.one import test
[ "michaellzx.com" ]
michaellzx.com
1d8b58f45fd8ae0ffa029e023cb52d36224f2127
6e7534aba4203445302c82bdc3a1355191782365
/all_checks.py
3ccd34ef784adaf8a714b127af58eb7fc519a417
[]
no_license
nafisshy/health-checks
f7491a1bb952f26a6238815937487fda69374660
3894a5283b55a21519359c9ae3cb825cb5bfcb61
refs/heads/main
2023-05-30T07:02:50.796812
2021-06-21T07:14:45
2021-06-21T07:14:45
378,631,101
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
#!/usr/bin/env python3 import os import sys def check_reboot(): """Returns True if a computer has a pending reboot.""" return os.path.exists("/run/reboot-required") def main(): if check_reboot(): print("Pending Reboot") sys.exit(1) print("Everything ok.") sys.exit(0) main()
[ "nafiritzy.59@gmail.com" ]
nafiritzy.59@gmail.com
de8e537c967a6c40257936c2133a9f0364ff06c1
0a52cbd3b6a4d83468e20937c47e5c1bc2ac7b6e
/scripts/dev/jaccard_combs.py
9f48aaf12ccbe5185ee42f738b01a42be5fb84e2
[ "MIT" ]
permissive
ptrebert/project-diploid-assembly
40b68128b6389aaf99a5b9ee71cd5d9034b41a36
a00e6bf89a5fe88a7a3e3005097dfab33f845478
refs/heads/master
2023-06-25T16:13:55.792788
2021-03-05T10:57:31
2021-03-05T10:57:31
180,403,483
14
3
MIT
2021-03-15T17:19:55
2019-04-09T16:01:38
Jupyter Notebook
UTF-8
Python
false
false
3,702
py
#!/usr/bin/env python3 import os import csv import argparse as argp import itertools as itt import subprocess as sp import functools import multiprocessing as mp JACCARD_CMD = 'bedtools jaccard -a {file_a} -b {file_b}' def parse_command_line(): parser = argp.ArgumentParser() parser.add_argument( '...
[ "36245614+ptrebert@users.noreply.github.com" ]
36245614+ptrebert@users.noreply.github.com
11a635d63cb3cc6ec4f23bc2d39a60be2dea79e2
e37f5df6d380e9395e2433558be05090c2e2cd72
/tspec_mapping/make_index_from_field.py
8384803f596600e08a0ab8f71024bd3eefc7a835
[]
no_license
keflavich/tspec_mapping
c8bcff914095cb3bc2bfc9dccdcbe7897e5399c7
b61e561235a5c3c104cb3a59e016fc252dbd5845
refs/heads/master
2021-01-18T14:15:14.241892
2015-02-13T06:22:29
2015-02-13T06:22:29
7,315,394
0
0
null
2013-09-28T15:54:17
2012-12-25T07:32:22
Python
UTF-8
Python
false
false
5,970
py
import astroquery.irsa import astrometry import astropy.io.fits import numpy as np import atpy import os def make_index_from_table(table,fieldname,fov=None,clobber=False,**kwargs): """ Given a table with RA and Dec columns (case-sensitive!), build an astrometry.net quad index Parameters ----------...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
abf2c437b230f60e8e8544b196e5bc7af7abf09d
996a45b73d950e1d4a094b8c17ffd29262cf82a7
/00_College Courses/UCLA/Computational Theory/HW3/homework_three.py
3f0afd5d12a4123ced638d50916e2809d0f3c064
[]
no_license
huntingcarlisle/CS-Coursework
3e4e848ff628b019d8de58cf1e5df3241145b27c
592d8d75dc6d79d7dd3e53e29e499e43640e37cb
refs/heads/master
2021-07-01T16:57:14.530850
2019-05-03T08:42:39
2019-05-03T08:42:39
132,169,792
1
1
null
null
null
null
UTF-8
Python
false
false
1,202
py
from operators import * def problem_zero(number): """ SC x2 binary """ memory_zero = 0 input = int_to_list(number) input.append(0) output = [] for digit in input: output.append(memory_zero) memory_zero = digit return list_to_int(output) # print(problem_zero(1010) == 1010...
[ "huntingcarlisle@gmail.com" ]
huntingcarlisle@gmail.com
1b9501b16eff9bc9c2b5f748eb107b9801130cf3
c6ca456c67669ddacb5cd27e5ad25c1802bb579d
/pckg/mod1.py
39a0ad5cc94df12748455b7f1c2dc6fe9094088c
[]
no_license
Kamyab-Majid/class_python
e69be7a87474732c1816e33fae08c163a56d1167
ea6f79208400362016fe8b6a69c274c62d994506
refs/heads/master
2023-06-16T09:27:35.115913
2021-07-05T16:03:58
2021-07-05T16:03:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
def add(a, b): return a + b class Foo: pass
[ "kamyab@ualberta.ca" ]
kamyab@ualberta.ca
625c5c86163441355f9435cb90d5a30ef8ea1d64
3759001298b6b9a656ed4c6b3493764eb253a526
/poll_website/asgi.py
c1a03d05c449d5ea3dbbecbdaa989e225c09849b
[ "MIT" ]
permissive
haku-kiro/poll-app-django-tut
a0607897cb334887e575cf3bda706212f3419ced
2ee4b6253cd04712743f7eed27953b64beeeaf5f
refs/heads/main
2023-01-20T01:10:35.600948
2020-11-26T20:06:34
2020-11-26T20:06:34
315,582,508
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for poll_website project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "botPrime@yahoo.com" ]
botPrime@yahoo.com
8de0ad73da91f576cde855e9dd726d82989f65bd
32d6370fe51c42cd99af52b03f81a82d687e5bb3
/aula011.py
5f28ccb2565b448fbc249cf4f8230a43606851f4
[]
no_license
AndreLovo/Python
a5f4b10c72641048dfd65b6c58bce3b233abeb07
ea98a2ca572dfebf9be32502f041016ec14ac0d5
refs/heads/master
2022-05-03T13:08:37.178401
2022-04-10T16:41:54
2022-04-10T16:41:54
157,377,691
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
print('\033[1;31;43m Olá Mundo!\033[n') print('\033[7;30m Olá Mundo!\033[n')
[ "noreply@github.com" ]
AndreLovo.noreply@github.com
2ed9c19851b9bc62ae4c409439f33728ff16f76a
8692807f1dfa8c18c61df07cfafbbd27d4e66fba
/previous_problems/BEGINNER/CHN09.sol.py
a30740f15472fbe4e2738dd1ba776740691bc28d
[]
no_license
sharmakajal0/codechef_problems
00381e9bf1996b859e46f087c2ffafd9d7a10ef1
0b979029e0a821f47fbdd6f9c624daee785a02e7
refs/heads/master
2020-05-29T15:04:40.459979
2020-03-29T08:44:53
2020-03-29T08:44:53
189,212,028
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
#!/usr/bin/env python for _ in range(int(input())): s = str(input()) amber = 0 brass = 0 for i in s: if i == 'a': amber += 1 elif i == 'b': brass += 1 if amber > brass: print(brass) elif brass > amber: print(amber) else: print(...
[ "sharma.kajal.sitm@gmail.com" ]
sharma.kajal.sitm@gmail.com
3a0ff5f8659fafcd9c7481214d9262b69269c211
553ec321ee9929f2ad0a4132d0ff6395c0d64772
/Insta_app/migrations/0001_initial.py
43123563a4f2a800c08959fd179750dedad9c8db
[]
no_license
TwinkleGumber/Instagram_clone
35dd1310a638c52504f135e38fc17939cb8e1fd7
f2c303a2d5f8e3908b54f2542cc3bf6e2ff58d42
refs/heads/master
2021-06-22T11:10:56.273064
2017-08-18T16:22:33
2017-08-18T16:22:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-24 13:52 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UserPr...
[ "isha97kansal@gmail.com" ]
isha97kansal@gmail.com
35db90b35233029d18d2e2ba5cb702018a99f6fa
08838cd8efbfbfc0a515bd1383db654cef65ef18
/Python/Exercise13.py
dc56cf794e81a9b092307aacc01c086a045840a9
[]
no_license
AkshayMehta78/CS6112017
8ecb4e7a2e6fa4126ae414f057c81a0283ca092c
c5d13bbf670ea7ef1296da373b4c7feb01921219
refs/heads/master
2021-08-31T14:41:25.235419
2017-12-21T18:46:57
2017-12-21T18:46:57
103,982,515
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
import re file = open("email.txt", "r") f1 = file.read() k = re.findall(r'(\w(?:[-.+]?\w+)+\@(?:[a-zA-Z0-9](?:[-+]?\w+)*\.)+[a-zA-Z]{2,})', f1) for j in k: print(j)
[ "akshaymeht9211@gmail.com" ]
akshaymeht9211@gmail.com
d3d83ff26dd4c06c4b2945ecf1b2bb3288ff2cf3
06269aa18193f3155032300734a10ed4b6e11006
/lib/utils/data_utils.py
2f578b9ddaac7960a011ac3baaeab1b0506aa4c1
[]
no_license
webclinic017/qu-ant
58337b3d270c5153ccf61c8bb2dfd0620aec72e7
882104fdfb69cb64d9b56f659f89af54efa6eda0
refs/heads/master
2022-10-20T23:24:56.274831
2020-05-14T19:33:02
2020-05-14T19:33:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,767
py
from functools import reduce from os import makedirs from os.path import join, dirname, exists import pandas as pd import pandas_datareader.data as web from datetime import datetime, timedelta, date def get_data_dir(): """ Get price data dir :return: data dir string """ return join(f'{dirname(_...
[ "s_park@wargaming.net" ]
s_park@wargaming.net
463cf524dbd01e72dbb67f1b1b24dff9c7398279
8bbb508b2efd88beff28e072b6ba3ad5ad86f9c7
/Config_ipython_import/ipython/import_here.py
f079107a00955301b1fb74660f6674d951bf3ce6
[]
no_license
wubinbai/2019
1f31a96d49c3383e696f208358347341783f6141
5f1e191a037b793abb97120f4e13185782c64a2c
refs/heads/master
2021-06-30T11:48:16.230757
2020-09-25T09:09:01
2020-09-25T09:09:01
162,510,722
0
2
null
null
null
null
UTF-8
Python
false
false
1,467
py
import numpy as np import sys #np.set_printoptions(threshold=sys.maxsize) np.set_printoptions(threshold=100) import pandas as pd import matplotlib.pyplot as plt plt.ion() import seaborn as sns from tqdm import tqdm def plot_whole(df): with pd.option_context('display.max_rows', None, 'display.max_columns', None): ...
[ "wubinbai@yahoo.com" ]
wubinbai@yahoo.com
646d4b249fae7d33c288ffbadc7669cfe7b0b787
aa265e03e73f718d4008cfe30ada7ee32c852eec
/ABC_B/ABC158_B.py
72d7ebebec13e3477adb87e193dac338d8e588da
[ "MIT" ]
permissive
ryosuke0825/atcoder_python
4fb9de9733cd9ef41c2ad9ad38b3f190f49d3ad5
52d037d0bc9ef2c721bf2958c1c2ead558cb0cf5
refs/heads/master
2023-03-11T22:47:56.963089
2023-03-05T01:21:06
2023-03-05T01:21:06
181,768,029
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
n, a, b = map(int, input().split()) ans = n//(a+b)*a amari = n-(a+b)*(n//(a+b)) ans += min(amari, a) print(ans)
[ "ayakobon@gmail.com" ]
ayakobon@gmail.com
9c147e53efc48ac53ba7d577f935f044f5beeca5
099f17c970cd42005d7dc98e6b98829790eed8e8
/modules/logger.py
a950e1d32c1e2296fff9e5fe5b22321a1ebb229a
[]
no_license
sirpercival/eiko
b5bcfbcf7b9201f97044f60c11f50e7e25ecb9bc
1ae00ae1a3d7a69bf5ff441edc5da32751683edf
refs/heads/master
2016-09-05T12:24:50.530069
2015-02-20T12:53:56
2015-02-20T12:53:56
16,088,807
0
0
null
null
null
null
UTF-8
Python
false
false
1,931
py
#!/usr/bin/env python """ logger.py - Esteban Feldman based on logger.py - Phenny Room Logging Module Author: Peter Higgins (dante@dojotoolkit.org) About: http://higginsforpresident.net License: AFL | New BSD """ from datetime import datetime import logging import logging.handlers import os logger = None def get_log...
[ "graymation@yahoo.com" ]
graymation@yahoo.com
3df683e8903138ebdc951f06fbbd6c3e9bf2ff7b
d664f6cdcd280d7575dd1f6082a2ad8bdabed14c
/test/functional/interface_rest.py
6fd897edac33a30478a179e7b4ae8e5bfb1c91d5
[ "MIT" ]
permissive
minblock/motherofweeddaycoin
22c287cac9c925f03a5aa1f36243ce51f89ebd80
eeb0625c0f2f35412b3a69da50bc55f6acd6806d
refs/heads/master
2022-04-26T05:10:07.935378
2020-04-28T23:11:46
2020-04-28T23:11:46
259,339,910
0
0
null
null
null
null
UTF-8
Python
false
false
14,715
py
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the REST API.""" import binascii from decimal import Decimal from enum import Enum from io import...
[ "POSTMASTER@provgn.com" ]
POSTMASTER@provgn.com
53336bf6ad31052dae4b45c6789847b6ee85d022
211108d505c661f6b67dc20901600dc5d0f01aa8
/server/portal/apps/webhooks/models.py
1abfa531a6343149d0407532a5d8c81b5d458a61
[]
no_license
Avila0000/Core-Portal
643051e3f6e092848c898d0828d2b83f7dcafebd
83f452436d5586b99ef2a9f327aab833ee794d1e
refs/heads/main
2023-07-19T13:05:12.536271
2021-09-01T17:39:34
2021-09-01T17:39:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
from __future__ import unicode_literals from django.db import models from django.conf import settings from datetime import datetime from portal.apps.webhooks.fields import JSONField # Create your models here. class ExternalCall(models.Model): """ExternalCall Used for tracking outbound calls """ # ...
[ "noreply@github.com" ]
Avila0000.noreply@github.com
b86ef1f95385a2b591a657cd8910eb6799774440
ede3dbce69ed540e739993827de7acde0950f5f6
/scripts/gpio_part_3.py
a86702cf4f546bdfba27d608b1c3722da0ef5439
[]
no_license
benoitmangili/eveningmeeting_fun
2df3edcdc5f52250bbba1fc7d0e171219a3dceb0
e7902e62708f127a8d5e4bf1f7179d2b689d6873
refs/heads/master
2021-01-10T14:08:24.821396
2016-02-29T20:53:57
2016-02-29T20:53:57
51,866,832
2
0
null
2016-02-29T20:53:57
2016-02-16T20:23:08
JavaScript
UTF-8
Python
false
false
1,203
py
from flask import Flask, jsonify, render_template # You can only use DS18B20 on the raspberry pi, so for testing # on your dev machine use the dummy sensor. from sensor.sensor import DS18B20 as sensor # from sensor.DummySensor import DummySensor as sensor try: import RPi.GPIO as GPIO except: # MockGPIO can be ...
[ "anniekvanderdrift@hotmail.com" ]
anniekvanderdrift@hotmail.com
d9b120c6b3b4f2a5ecffddf3d0f51f0bbf07cc85
401f783a202949adbf144b5780bcd87a6daf2299
/code/python/Day-89/SumNested.py
790c9104c096a14e9c9ead74bef4561443cec9d7
[]
no_license
TalatWaheed/100-days-code
1934c8113e6e7be86ca86ea66c518d2f2cedf82a
b8fd92d4ddb6adc4089d38ac7ccd2184f9c47919
refs/heads/master
2021-07-04T14:28:45.363798
2019-03-05T13:49:55
2019-03-05T13:49:55
140,101,486
0
1
null
null
null
null
UTF-8
Python
false
false
240
py
def sum1(lst): total = 0 for element in lst: if (type(element) == type([])): total = total + sum1(element) else: total = total + element return total print( "Sum is:",sum1([[1,2],[3,4]]))
[ "noreply@github.com" ]
TalatWaheed.noreply@github.com
96b9e5e8b1b17460d4c3846c6aed262b27507927
09d557d00002ad39bce2436454f15acd75186a92
/pbh5tools/cbook.py
3884303b502960a96c40ff79c2b08eb004dd74b7
[]
no_license
Global-localhost/pbh5tools
b6856d0c83269fd7bf17f62d6ad9db953a600dc1
9fa8fc4a6ad9a956e09c42d4cb351bca3f72e1a1
refs/heads/master
2022-12-02T16:17:10.987581
2018-12-12T20:00:50
2018-12-12T20:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,469
py
################################################################################# # Copyright (c) 2011-2013, Pacific Biosciences of California, Inc. # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are me...
[ "a@b" ]
a@b
be6f82cb106e2c9c2c3408a68ca6dc1739e636be
fff19d5b3d08518333bca0daeece8bd422de2505
/K means.py
3b864e96ea4b1c33c1e91d9a7c4359a9d8541866
[]
no_license
prateek781995/Neural
34d95fcb61cbe482d74c8b4ab7d07eac4777d2bb
0e7cd561bb213d952118d5e09dc716b8c99e6168
refs/heads/master
2020-03-19T18:52:06.404156
2018-06-25T08:21:18
2018-06-25T08:21:18
136,828,979
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd dataset = pd.read_csv('Mall_Customers.csv') x = dataset.iloc[:,[3,4]].values from sklearn.cluster import KMeans wcss = [] for i in range (1, 11): kmeans = KMeans(n_clusters = i, init = 'k-means++',max_iter = 300, n_init = 10, random_stat...
[ "noreply@github.com" ]
prateek781995.noreply@github.com
5880aa7d66f44bc26ed84056fc7d1eae60416121
cd11c8f3d5759ca0df2f0bfae07d06076e88e6c6
/scripts/__init__.py
dccaf76a76e6331904e87939492b987f64914922
[ "MIT" ]
permissive
ryanai3/TooMuchData
19a548dc3d5de206191fc6815fd02138025ba031
67028d8b2ba92954f27a53cfad6e433d611eb373
refs/heads/master
2021-01-19T02:06:40.047964
2017-05-17T18:14:20
2017-05-17T18:14:20
87,261,521
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
#!/usr/bin/python3 import sys from os import path sys.path.append(path.join(path.dirname(__file__), "../"))
[ "ryanai3@hotmail.com" ]
ryanai3@hotmail.com
e65dd8e631f639e6842a7669548ca869e28a4c65
c998a4ef92551cdbbd5320502e3be2fddc95f1e6
/pymodule/drift.py
5e062167c62bf8bc68619f4616efe2b2df6653e7
[]
no_license
jdbowman/sim
09adb1b19881683e58846678339f458c0a8d5d73
3d51d4a2545da4e31c59ca3d12f541bc0d5d0e5b
refs/heads/master
2016-09-06T18:24:40.652576
2013-10-10T17:53:03
2013-10-10T17:53:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,410
py
""" This module provides and (probably) complete and automate object to work on drift scan simulations of the MWA using MAPS. It requires a python wrapper for MAPS (maps.py). """ import os import astro import settings as s import numpy as np import maps import multiprocessing from datetime import datetime class _Inp...
[ "piyanat.kittiwisit@asu.edu" ]
piyanat.kittiwisit@asu.edu
dbde1c3632b63562b28f337abb336eb6cbd3c802
cba0fef2ff63aea907067f327b3d9338ad71b51c
/venv/rest/bin/easy_install
77b2f26d7b72fe6b21a08a70baf0f49cde5c066e
[]
no_license
KarolinaGrabinska/instaphoto
a5f0a7f6c9314307ad372b1bc70e11a32a3e9399
734beacc3fc7a5e91c3d90135c2ce4915ade9c48
refs/heads/master
2020-04-28T22:52:39.299148
2019-03-27T19:21:38
2019-03-27T19:21:38
175,633,108
0
0
null
null
null
null
UTF-8
Python
false
false
450
#!/home/karolina/PycharmProjects/instaphoto/venv/rest/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __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?|\....
[ "karoline.grabinska@gmail.com" ]
karoline.grabinska@gmail.com
b80a88051f1dc03724408229030e45ca92dbfe39
c13aa17d0eb0c9ac958a66556854afc5d5e9da69
/test.py
76b7ae04d30e33bc6d70cbacaa8d2510ee49c16b
[]
no_license
shadowuyl/Kaggle-TGS
77ded1560bf03c076784e9807b005d255f57f00d
2fe071415ad81442b8943100e8f909bc22624457
refs/heads/master
2020-05-25T12:21:42.234059
2018-11-28T11:55:40
2018-11-28T11:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,369
py
import sys, os import cv2 import torch import argparse import timeit import random import pandas as pd import numpy as np import torch.nn as nn import torch.nn.functional as F from tqdm import tqdm from torch.backends import cudnn from torch.utils import data from ptsemseg.models import get_model from ptsemseg.loade...
[ "adam9500370@yahoo.com.tw" ]
adam9500370@yahoo.com.tw
cb8912386d34072d5f24cf5232775df9c7dc269f
fee803ecca4ff083488d5549b4264921c6af3538
/pyshop/settings.py
5000c2f7ae08139942b9178c0b944097f6ba96cc
[]
no_license
skahuria/django_tutorial
76091b57dc98924bd21a0234757a25def0a985dc
af827f0511f2e311878f1997a167ecaa76aa4488
refs/heads/master
2023-04-14T11:57:32.963026
2021-04-09T12:25:53
2021-04-09T12:25:53
356,265,450
0
0
null
null
null
null
UTF-8
Python
false
false
3,339
py
""" Django settings for pyshop project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from p...
[ "stephenkahuria@ymail.com" ]
stephenkahuria@ymail.com
65218b633078aab353f34b5388ef7be786a78804
67479080bcfa3a9b988619072c9cd90e1f44ec36
/fanpage_tracking/urls.py
bb62ad1e2b67bac881dd790125891ab8773c394c
[]
no_license
jbwinters/django-facebook-scraping
1f6d3ffed7007e736d4358156c104e81a21e9ff3
928a77f572a53090c40992905ccc8b6dff970faa
refs/heads/master
2020-05-16T21:50:25.806043
2013-03-07T12:24:11
2013-03-07T12:24:11
8,618,184
1
0
null
null
null
null
UTF-8
Python
false
false
152
py
from django.conf.urls import patterns, url from fanpage_tracking import views urlpatterns = patterns('', url(r'^$', views.index, name='index') )
[ "jbwint@umich.edu" ]
jbwint@umich.edu
c423aa3aae2fbf9cab46298e451c9a089326366a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/vcFgGJHxhTwRiLK5d_14.py
4a507ff87ec2b6c51b89dc31487dd6f18bceb1b8
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from fractions import gcd ​ def smallest(n): lcm = 1 for i in range(1, n+1): lcm = (lcm * i)//(gcd(int(lcm), i)) return int(lcm)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f93bb6502470527de85f096ad5738e84d4acca70
9869ddc4064537eb9799656469ae7bd4e4c43d0e
/postScrape/postScrape/mergeJSONFiles.py
c519486bd74daceaaea47d31a865f02ea6b839ad
[]
no_license
srivathsanvenkateswaran/TechNewsAPI
92f72cf0fc2623caae3f514854146c65afa133b0
b6ca058018af431de565831c81ea5f1c22fb5cf2
refs/heads/main
2023-04-13T17:53:09.253682
2021-04-22T07:56:48
2021-04-22T07:56:48
353,101,840
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
if __name__ == "__main__": import json with open("results/Beebom.json", "r") as b: BeebomJsonArray = json.loads(b.read()) with open("results/AndroidAuthority.json", "r") as b: AndroidAuthorityJsonArray = json.loads(b.read()) with open("results/TechCrunch.json", "r") as b: ...
[ "srivathsanvenkateswaran@gmail.com" ]
srivathsanvenkateswaran@gmail.com
2f9701d3eb3a5d5bf0b18b81eb4876c8ed5f1b79
bf8d8ea1c69ac130ca7f348e2691e135675470a1
/bin/gonha
514479f996a45bd8e9c8221e8a925e3df5958264
[ "MIT" ]
permissive
DellLord/gonha
f36149824d347315825b61a99722f8ad55fba9f0
e8e6009fd3249084c9720a2f567449c7393c7282
refs/heads/master
2022-12-03T23:11:06.807101
2020-08-02T19:47:59
2020-08-02T19:47:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
#!/usr/bin/python3 -Es import sys from gonha.mainwindow import MainWindow from gonha.util import Config import coloredlogs import logging import os if __name__ == '__main__': os.environ['QT_LOGGING_RULES'] = "qt5ct.debug=false" logger = logging.getLogger(__name__) coloredlogs.install() config = Config(...
[ "fredcox@gmail.com" ]
fredcox@gmail.com
e8390a029091c57acd905f3fdf6187cfcc893d49
269acebe5c46dbf8745ac3e00cf6fc838c05d280
/tools/c7n_kube/setup.py
8d36b6cb561f028134560d4bf3bceecf80054cae
[ "Apache-2.0" ]
permissive
aluong/cloud-custodian
dbe7a6b3366609536767795b06d8de21ca952072
e2d44a888882fbc1a63c886a91bfa8225957a283
refs/heads/master
2021-07-14T18:10:49.651620
2020-10-30T18:14:25
2020-10-30T18:14:25
126,348,771
0
0
Apache-2.0
2018-03-22T14:36:06
2018-03-22T14:36:06
null
UTF-8
Python
false
false
1,468
py
# Automatically generated from poetry/pyproject.toml # flake8: noqa # -*- coding: utf-8 -*- from setuptools import setup packages = \ ['c7n_kube', 'c7n_kube.actions', 'c7n_kube.resources', 'c7n_kube.resources.apps', 'c7n_kube.resources.core'] package_data = \ {'': ['*']} install_requires = \ ['argcomplete (>=1.1...
[ "noreply@github.com" ]
aluong.noreply@github.com
5c0a5cdaa8aca987899b3c6a4149309ce141a486
279b53fe74f0fdec0efc0437d2a8a052580f4bcb
/CTCI-Solutions/CH2-LinkedLists/partition.py
e040f3fb911c282ff29ed2cde1dce2dbf04a77cf
[]
no_license
AdvaithD/Paradise
590d041dc8acf2379720266cb1dc3efcf7b07ac0
cfb70a169e21a5a089f060aff92707267ea35588
refs/heads/master
2020-12-05T08:22:22.002309
2020-01-18T19:59:51
2020-01-18T19:59:51
232,056,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,969
py
# Write code to partition a linked list around a value 'x' such that # nodes < x come before nodes >= x # if x is contained within the list, the values of x only need to be # after the elements less than x class ListNode(): def __init__(self, data=0, next_node=None): self.data = data self.next = n...
[ "advaith@chainist.com" ]
advaith@chainist.com
15b4273440bb14b4e5c6be697d42d8398d30d59e
6034b74d0d31997aa46f669d3d77bb46e199a430
/tests/test_dataset_processor.py
6cae4a56b6cba92bb31d6fa50efab979b3b32076
[ "Apache-2.0" ]
permissive
bupt-nlp/sequence-labeling-models
5ea641eec4fad1f470bdb7f3dd64ef0b892ba557
75bb8c24098ad9f307605fad61d811bcd299cfcc
refs/heads/master
2023-06-01T00:59:56.753952
2021-06-19T11:28:13
2021-06-19T11:28:13
287,694,702
2
2
Apache-2.0
2020-08-15T07:07:06
2020-08-15T06:54:35
null
UTF-8
Python
false
false
5,152
py
from __future__ import annotations import os from typing import List, Tuple from allennlp.data import Vocabulary, Instance from allennlp.data.data_loaders import SimpleDataLoader, DataLoader from allennlp.data.token_indexers.pretrained_transformer_indexer import PretrainedTransformerIndexer from allennlp.data.dataset...
[ "1435130236@qq.com" ]
1435130236@qq.com
c831205fd77e3632c512f4c844a2a0477f85470a
25be27365977838a5f716ab736e01acc93b2823e
/python/parallel_computation/ms2_parallel_mlp.py
cff9d7bff60ca0f6d8139e8d63b2726cbf46fb8d
[]
no_license
MWesselkamp/DomAdapt
ab45e2e97f46244b876dadcd14a203f03867d31a
fef2c1f57c31b9aa89c77854892eac4090545560
refs/heads/master
2023-03-27T02:32:02.975281
2021-03-29T14:49:56
2021-03-29T14:49:56
269,294,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 16 13:36:42 2020 @author: marie """ #%% Set working directory import os.path import preprocessing import pandas as pd import time from dev_mlp import mlp_selection_parallel import multiprocessing as mp import itertools #%% Load Data datadir = r"OneDrive\Dokumente\Sc_Ma...
[ "marieke.wesselkamp@gmail.com" ]
marieke.wesselkamp@gmail.com
c91effaaaa7685813f70b6e5719bd5298048a24f
f714db4463dd37fc33382364dc4b1963a9053e49
/src/sentry/integrations/msteams/utils.py
3dd201dde1ca3bb9f4e5d09390e9154ffa859fb7
[ "BUSL-1.1", "Apache-2.0" ]
permissive
macher91/sentry
92171c2ad23564bf52627fcd711855685b138cbd
dd94d574403c95eaea6d4ccf93526577f3d9261b
refs/heads/master
2021-07-07T08:23:53.339912
2020-07-21T08:03:55
2020-07-21T08:03:55
140,079,930
0
0
BSD-3-Clause
2020-05-13T11:28:35
2018-07-07T11:50:48
Python
UTF-8
Python
false
false
1,755
py
from __future__ import absolute_import from sentry.models import Integration from sentry.utils.compat import filter from .client import MsTeamsClient MSTEAMS_MAX_ITERS = 100 def channel_filter(channel, name): # the general channel has no name in the list # retrieved from the REST API call if channel.get...
[ "noreply@github.com" ]
macher91.noreply@github.com
414bc115ae17b2308119de2eb29319cb4b453588
8e6005ff82a6b37b8c4e2a2fed5791323837d316
/HighMassAnalysis/Analysis/vbf_muTau_LS.py
3d44fab3699a7b0094d4520d2f6e8f035c7b18ee
[]
no_license
CMSRA2Tau/gurrola-sl5-on-sl6
633050a5ec5fd1a81a15c2e1dcf6b4952b718a9e
f56a99cd7121bcbdf301c2bea9fe397a6b9ef6a1
refs/heads/master
2020-04-15T06:13:09.462508
2014-12-17T17:57:01
2014-12-17T17:57:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
76,430
py
import FWCore.ParameterSet.Config as cms import copy process = cms.Process('HiMassTau') process.load('Configuration.StandardSequences.Services_cff') process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') process.GlobalTag.globaltag = 'START53_V7F::All' process.load('JetMETCorrections.Config...
[ "andrew.m.melo@vanderbilt.edu" ]
andrew.m.melo@vanderbilt.edu
09757e17c77afedd911af60a96e41bb9f1d358ad
1650e31f3271174469c8c57df9d3114d92200305
/blog/blogsite/models.py
a403c5c2a8242da06cc417af7a6b6b76108b43b6
[]
no_license
yolkoo95/django
cb61931b021b877b2692613256e78eb63045f9aa
b1770121a2b1a2d45e10e565f79a6a24de211bbf
refs/heads/master
2021-05-19T06:46:50.685647
2020-04-05T10:37:02
2020-04-05T10:37:02
251,571,167
1
0
null
null
null
null
UTF-8
Python
false
false
409
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): title = models.CharField(max_length=200) slug = models.CharField(max_length=200) body = models.TextField() pub_date = models.DateTimeField(default=timezone.now) class Meta: ...
[ "nicolaspotato6174@gmail.com" ]
nicolaspotato6174@gmail.com
72cb90443622f17cb20d8938e8dbfe67946b4cb3
5551bf5a41bc97f300eb3fb25d1cf8063708380d
/SocketScripting/clienthash.py
f27f4b535638ea3a98f214f4c7464c43dade227b
[]
no_license
joaoalencastro/pythonSocket
35a499582ebe8c7c59ff9ad14f6c65bfbe5ac15d
dbd1857262ffd091849d97c42a7f78e3f8d4e1be
refs/heads/main
2023-09-01T05:35:42.492545
2021-10-20T21:00:27
2021-10-20T21:00:27
381,063,009
0
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
#!/usr/bin/env python3 import socket import hashlib from datetime import datetime ### This script will send TCP requests to the HOST:PORT provided in chunks of BYTES HOST = 'localhost' PORT = 8088 BYTES = 128 # if working with hex this number should be doubled FILE = 'Texts/rfc761.txt' # make the hash string # resu...
[ "joao.alencastro@gmail.com" ]
joao.alencastro@gmail.com
acd70c689aadba0004d4bd006f6733ce1b15a7c9
018e94228ad947b9f7daeea462e6f37ac877c461
/script/dataprocess.py
d3297c32066e91e992c377587d55e909c37bccfb
[ "MIT" ]
permissive
xing969541/SLKG
a2c743b33cd8752ce35cf039b9abeb9fcdaae4cf
76044b363f1f6a19d9b05b2ff37b9f95681829b3
refs/heads/main
2023-05-13T22:18:56.556730
2021-06-08T12:38:22
2021-06-08T12:38:22
374,991,657
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
# -*- coding: utf-8 -*- import os import torch import numpy as np import pickle import matplotlib.pyplot as plt def cal(pos, neg, threshold): TP = (torch.sigmoid(pos)>threshold).sum().item()+1e-10 FN = (torch.sigmoid(pos)<threshold).sum().item()+1e-10 TN = (torch.sigmoid(neg)<threshold).sum().i...
[ "noreply@github.com" ]
xing969541.noreply@github.com
166c1e9e308358a2b436aed7c45b2fe91887d2da
5b9c20a516513d39e9a100186eba77a5b50bc71d
/format/format_example1.py
f1a0115e81a0a5bd9e8674fbe252af00748c0082
[]
no_license
WALL-EEEEEEE/lpthw
3ea52acf1a5f1694a1d36687dff9e444d13dfc1d
9d7c7413009feca662576a65b6ccf06e48789230
refs/heads/master
2023-04-26T19:47:55.053156
2018-09-07T12:55:19
2018-09-07T12:55:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
import datetime print('{:+f}; {:+f}'.format(3.14,3.14)) print('{: f}; {: f}'.format(3.14,-3.14)) print('{:-f}; {:-f}'.format(3.14,-3.14)) print('int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}'.format(42)) print('int: {0:d}; hex: {0:#x}; oct: {0:#o}; bin: {0:#b}'.format(42)) print('{:,}'.format(1234567890)) points = 19 ...
[ "johans@johanss-MBP.lan" ]
johans@johanss-MBP.lan
f98f2e83b1096b53c66e15f0fbf035ddc93c1d8e
197420c1f28ccb98059888dff214c9fd7226e743
/happy_pythoning_cource_2_prodv/3.1 Bool/3.1. bool.py
be2e6728722c29ced0d3c7440e63523df6444bf2
[]
no_license
Vovanuch/python-basics-1
fc10b6f745defff31364b66c65a704a9cf05d076
a29affec12e8b80a1d3beda3a50cde4867b1dee2
refs/heads/master
2023-07-06T17:10:46.341121
2021-08-06T05:38:19
2021-08-06T05:38:19
267,504,364
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
''' Что будет выведено на экран в результате выполнения следующей программы? ''' numbers = [-6, -8, 0, 1, 3, 8, -7, 12, 17, 24, 25, 3, 5, 1] res = 0 for num in numbers: res += (num % 2 == 1) and (num > 1) print(res)
[ "vetohin.vladimir@gmail.com" ]
vetohin.vladimir@gmail.com
7258c482e8ee9b88d64784f4b8132d59778a383d
6c721f3cfce6dc88396cd3b5f6a59d65a2ea5033
/some_learn/Data_Set_handle/Caltech-Dateset/test/caltech_generate_xml/generate_xml.py
5252a995b10a61e6a84100101e23d4a81ac98bc2
[ "MIT" ]
permissive
unicoe/PycharmProjects
20a3dabe88c7874da54451c7bb16999afc0eee35
23ff314eb5ac9bfa01a8278089d722b5d0061751
refs/heads/master
2020-03-23T09:16:25.907188
2019-12-21T03:10:49
2019-12-21T03:10:49
141,377,686
4
1
null
null
null
null
UTF-8
Python
false
false
6,550
py
#!/usr/bin/env python # coding:utf-8 #from xml.etree.ElementTree import Element, SubElement, tostring from lxml.etree import Element, SubElement, tostring import pprint from xml.dom.minidom import parseString import os def mkdir(path): import os path = path.strip() path = path.rstrip("\\") isExists ...
[ "unicoe@163.com" ]
unicoe@163.com
a8c3e67c479b11711e752d618a64e6d5f14d3cec
c523eff326b8bc6c0c903bf7fe16ec3b98605bff
/AejiJeon/CodeUp/기초100제/cu_1025.py
0ff9f49b5ba24a4bc72640377e4b39f2876d828a
[]
no_license
IgoAlgo/Problem-Solving
c76fc157c4dd2afeeb72a7e4a1833b730a0b441d
5cc57d532b2887cf4eec8591dafc5ef611c3c409
refs/heads/master
2023-06-26T05:12:02.449706
2021-07-14T06:57:00
2021-07-14T06:57:00
328,959,557
2
1
null
null
null
null
UTF-8
Python
false
false
118
py
# integer -> sizes of digits integer = input() i=4 for a in integer: print("[%d]" %(int(a)*pow(10,i))) i -= 1
[ "jeonaeji@gist.ac.kr" ]
jeonaeji@gist.ac.kr
3813862d0863eb7e5783402d586761470ec5a9aa
37826f6d3ac8606a4f9cbfe25ed207ae857b9f2c
/src/services/__init__.py
4fea0134b15f66679c8c247cb84b52075bfdcd2f
[]
no_license
Stark-X/github-2-slack
aa809dfd063744acca6d1469f4d75bea19787e64
a1c0a9c22a7574415f362cc7189beebe0a262679
refs/heads/main
2023-02-24T23:14:46.796752
2021-01-30T15:09:05
2021-01-30T15:09:05
334,442,512
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from .actions.deployment import DeploymentAction from .actions.push import PushAction strategies = {"push": PushAction, "deployment": DeploymentAction}
[ "xiaojiezhi2@gmail.com" ]
xiaojiezhi2@gmail.com
54477822fde35af97a3ad17269c805114594b875
b6c6dd8dd263c6cc0091e01ec93a03ba2efbf590
/python27/template.py
1facc82140e7d9a57268585e972c71e3f7a8470a
[]
no_license
kargee2000/ModellingTool_Python
eb7d56e3db18fc44e44191022785c92100254528
23a645d26567413131024b44d385843aadc1d3da
refs/heads/master
2021-01-23T11:59:36.133369
2016-06-25T08:52:36
2016-06-25T08:52:36
61,935,284
0
0
null
null
null
null
UTF-8
Python
false
false
6,472
py
s1 = """<html> <head> <meta charset="UTF-8"> <title>Model Builder - Main Page</title> <style> @import url(http://fonts.googleapis.com/css?family=Exo:100,200,400); @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:700,400,300); body{ margin: 0; padding: 0; background: #fff; position: absolute; ...
[ "kargee_2000@yahoo.com" ]
kargee_2000@yahoo.com
3548555fe01d146e2f03abab2eaebe86099355ba
71e49ae86e6398f3278a031edaeebee2218c8b9b
/todo_django/todo_django/settings.py
6abb1e168465164fa89608d6d98a73a2d985b19f
[]
no_license
swestphal/todo
38558688063089b30e0ac1ca4906ef1f2d816ad8
97ef67696abd4e46fcc5a61270d6ad60596de321
refs/heads/main
2023-05-13T11:25:26.614616
2021-05-28T15:26:19
2021-05-28T15:26:19
371,403,392
0
0
null
null
null
null
UTF-8
Python
false
false
3,405
py
""" Django settings for todo_django project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pat...
[ "hello@swestphal.io" ]
hello@swestphal.io
10e0dfc2a6bea9d537ac9ca62778ef3ab103293c
233f35b77ae97b9f559fe861cfbe656d4a82f2cd
/function/hanNumber.py
d5a17bf382d28c59fbc66835227bee8cfbc6f299
[]
no_license
oowgnoj/python-datastructure
181e94274aedacdfeffe2d8774ab36a4043bf2a7
618f9062541b46dfacb3b89be18bc4dcbdb1ee6d
refs/heads/master
2020-11-24T23:50:42.371787
2020-01-03T00:12:00
2020-01-03T00:12:00
228,394,956
1
0
null
null
null
null
UTF-8
Python
false
false
553
py
def isArithmeticSeq(num): strNum = str(num) if len(strNum) <= 2: return True else: commonDif = int(strNum[0]) - int(strNum[1]) for i in range(len(strNum) - 1): if int(strNum[i]) - int(strNum[i+1]) == commonDif: continue else: return False retu...
[ "mangtaob@gmail.com" ]
mangtaob@gmail.com
fbd5babc9f24e78ed630e2a45e4cfa1351092908
9b3c992628a296953fe50ff9c62bdf7b8d0cd179
/semanticscholar/Paper.py
7f63dd7655a13560e0917ced455e40ad9848ec98
[ "MIT" ]
permissive
danielnsilva/semanticscholar
3886f6520caa414224f428cc206b68d25a721bbe
84225660550a6477c0d92ed84d4f124047fa223b
refs/heads/master
2023-09-01T20:51:14.327238
2023-08-20T15:09:27
2023-08-20T15:09:27
200,141,114
169
28
MIT
2023-09-04T18:01:54
2019-08-02T01:17:06
Python
UTF-8
Python
false
false
10,453
py
from datetime import datetime import semanticscholar.Author import semanticscholar.Journal import semanticscholar.Tldr import semanticscholar.PublicationVenue from semanticscholar.SemanticScholarObject import SemanticScholarObject class Paper(SemanticScholarObject): ''' This class abstracts a pape...
[ "danielnsilva@gmail.com" ]
danielnsilva@gmail.com
c261635d05c036c51cbe8f6abd84f4d99e908123
115584e5da35ae0c043fcd1337f66943a90aa1cd
/models.py
fbb548513da942eb004a12081fd436a39e7f462f
[]
no_license
Leomedina/RESTful_Cupcakes
03684c5ad1d0b2b246f1e9ad76dc800b66a1006d
d925b6ed6ccaafca15274f75cf44410ac1e0728c
refs/heads/master
2022-10-13T14:08:33.023058
2020-06-09T20:14:10
2020-06-09T20:14:10
270,711,276
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
"""Models for Cupcake app.""" from flask_sqlalchemy import SQLAlchemy from app import * db = SQLAlchemy() def connect_db(app): db.app = app db.init_app(app) class Cupcake(db.Model): """Cupcake Model""" __tablename__ = "cupcakes" id = db.Column(db.Integer, primary_key = True,...
[ "medinayleo@gmail.com" ]
medinayleo@gmail.com
cfcc64c2dd2a5398b2f9b30038ba8ada47ef3178
31023b59e743b5bef1c2c935dc1f2b26e8e10e9b
/线程进程/进程间通信/数据共享.py
ef96b8051c960f8e1af50dca4856fa31d9922af5
[]
no_license
hsyy673150343/PythonLearning
417650d8ab5dbafbede08ef40223b29e82738443
817c6bd4c2ecba2549fa0be9f0c41337fe5acfdf
refs/heads/master
2020-05-18T06:36:25.648709
2019-05-23T13:40:59
2019-05-23T13:40:59
184,239,403
3
0
null
null
null
null
UTF-8
Python
false
false
600
py
#!/usr/bin/env python # -*- coding:utf8 -*- # @TIME :2019/3/20 19:33 # @Author : 洪松 # @File : 数据共享.py from multiprocessing import Process, Manager def f(d, l,n): d[n] = n d["name"] ="alvin" l.append(n) if __name__ == '__main__': with Manager() as manager: d = manager.dict() ...
[ "13096337080@163.com" ]
13096337080@163.com
2c9341e3cc9b500f416eb515d0b09874ac6271fe
7b64efdadebd622eb48e997509afa6505b3f615a
/bouncing_dvd_logo.py
23b89552586564092a28766146075a7accf1432c
[]
no_license
kertmannik/dvd_bouncing_logo
7b950724e53578b90c569440ce52323e39d45a7d
add80920d2da0fdb0586fd8c3a0152b49b53617a
refs/heads/master
2020-04-22T00:10:37.220127
2019-02-10T17:07:02
2019-02-10T17:07:02
169,970,082
0
0
null
null
null
null
UTF-8
Python
false
false
2,189
py
import pygame from random import randint pygame.init() pygame.mixer.init() clock = pygame.time.Clock() fps = 30 screen = pygame.display.set_mode([800, 600], pygame.FULLSCREEN) white = [255, 255, 255] screen_color = white screen.fill(screen_color) screen_width = screen.get_width() screen_height = screen.get_height() ...
[ "kert.mannik@gmail.com" ]
kert.mannik@gmail.com
108d56c42cdcdff2bb22d0a2c1745b9e0b733b3e
043e3251af764c7ba59c4051771d8639feae9e74
/main.spec
a16b40327b1b019228eb4f9310333d051802266f
[]
no_license
Kamaliddin-creator/StopWatch
15af6344315c6d9c71339199626939df100b7dc1
a15657ad7ed87e3a0c0a9467f3d0c7d9cfa16b31
refs/heads/master
2022-12-14T16:15:56.058936
2020-08-28T11:06:55
2020-08-28T11:06:55
291,024,443
0
0
null
null
null
null
UTF-8
Python
false
false
885
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['main.py'], pathex=['E:\\Projects\\QRCODE'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_no_pr...
[ "ulbarsovk@gmail.com" ]
ulbarsovk@gmail.com
e493ec74baf27b357c4eab05c6e45130d60ba96b
24d3cdb938af3b9171be4671f1ff9e61a8f4742f
/PyBioMed/PyMolecule/AtomTypes.py
54b2e45b2dbbe5cfc4b75dbf5ebf032034daf613
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
zeromtmu/PyBioMed
a0daedd3d3951b267ff75228d3800a34d9369003
ee31b1ee674f7cbb18651762b18fe363b8b60b32
refs/heads/master
2021-01-23T03:28:28.069502
2017-02-24T07:31:46
2017-02-24T07:31:46
86,085,218
0
1
null
2017-03-24T15:50:47
2017-03-24T15:50:47
null
UTF-8
Python
false
false
4,385
py
# -*- coding: utf-8 -*- """ You can freely use and distribute it. If you hava any problem, you could contact with us timely! Authors: Zhijiang Yao and Dongsheng Cao. Date: 2016.06.04 Email: gadsby@163.com contains SMARTS definitions and calculators for EState atom types defined in: Hall and Kier JCICS _35_ 1039...
[ "gadsbyfly@Gmail.com" ]
gadsbyfly@Gmail.com
a4e6ae1c77868e5691d0b885e32512b21d0a7ab3
37b191e46f28094d76e814ac7b024b9dd4800f3d
/ex14.py
9f0f7bbcbbcb066de951fd24815a4b75d8528bfb
[]
no_license
CindyWei/Python
192ae4ac1a87e7739d95cedea247987e5ff37fd6
9f460f4c219368d0b196f983f51dc243814d5bbf
refs/heads/master
2020-04-16T12:50:39.844111
2014-02-12T01:12:22
2014-02-12T01:12:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
#coding=utf-8 ''' 2014-2-9 习题14:提示和传递 ''' from sys import argv script, user_name = argv prompt = '>' print "Hi %s, I'm the %s script." % (user_name, script) print "I'd like to ask you a few questions." print "Do you like me %s?" % user_name likes = raw_input(prompt) print "Where do you live %s?" % user_name lives =...
[ "weiyaxin312@163.com" ]
weiyaxin312@163.com
bc638535aa88eb0734da8bea69ec47da930a0515
472f531c32b63a39ed76c2d95517bae3342a9c09
/lib/config/config.py
a45ecff4c1583df9226bd3d4fb918a0c772693e0
[ "Apache-2.0" ]
permissive
TrendingTechnology/PyAnomaly
90cc3a2d05ea6ecfd0ab5c3768c67ccd4c45b77d
8e9bf7564ab0a39e251f439dfaa3d55ba053f3a9
refs/heads/master
2022-11-06T09:29:06.034245
2020-06-12T04:34:22
2020-06-12T04:34:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,904
py
from yacs.config import CfgNode as CN __all__ = ['update_config'] config = CN() # configure the system related matters, such as gpus, cudnn and so on config.SYSTEM = CN() config.SYSTEM.multigpus = False # to determine whether use multi gpus to train or test(data parallel) config.SYSTEM.num_gpus = 1 # d...
[ "446358161@qq.com" ]
446358161@qq.com
4ce0b2ca8a93f6dcd82b7696fe37429e6c022807
15f846899c56506960ec23b579ad1486bb97fe8e
/爬虫类/ip地址查询/ip地址查询.py
381c844e20b4cc4eaf9c79e14313eb75a48d7611
[ "MIT" ]
permissive
fengtony686/Gedgat
28a410920e79212080e012517c70de41308a80f4
c5c81388a806d97d116532ff6cc9ecbd89fad514
refs/heads/master
2021-02-09T16:58:04.909047
2020-08-24T04:16:54
2020-08-24T04:16:54
244,304,566
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
import requests from bs4 import BeautifulSoup from openpyxl import Workbook import time SLEEP_TIME = 60 # IP检测间隔时间为60秒 CHART_NAME = r'ip地址统计表' # 表格的名称 NUMBER_OF_IP = 50 # 获取IP的数量 wb = Workbook() sheet = wb.active sheet.title = CHART_NAME def get_html(url): text = requests.get(url, headers={'User-Agent':'...
[ "fengtony686@gmail.com" ]
fengtony686@gmail.com
fbf46144c391400ca7481f5095e9f3585102ebd0
1e0e14eb136340e4a5a64156f468aa0630f3047e
/02_Stack/02_reverse_string.py
77f1118ceb7ac590f66192e9a3d36006d43529ae
[]
no_license
SaurabhJumnalkar/DS-and-Algo-Learning-Resource
b91b8ffef0834269645358b7f471ac6bc59ebc94
74f06b5c56c72ca184371e4a595a820d1f079d9a
refs/heads/master
2023-03-07T22:40:37.151914
2021-02-23T17:50:53
2021-02-23T17:50:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
''' Contributed by Jiganesh Patil The one liner to reverse a string is "string"[::-1] Commonly Asked Interview Question "How to reverse a string Using Stack" Stack is a Data-structure which follows Last In First Out or LIFO :) Assume a box and Cahracters A B C and D all on the Floor, Taking element one by one you p...
[ "57866448+AtharvaMahamuni@users.noreply.github.com" ]
57866448+AtharvaMahamuni@users.noreply.github.com
39aeea1353ae0e5ff5ecf5b8b0b635a8cf533ed7
f250ad0cffc0b7f209174ba64aa86060a60118b2
/introduction/write_a_model_as_a_chain.py
027c7f7be5819f6feedd601eb0491713e0e3f93b
[]
no_license
kenta-s/chainer_tutorial
9da2f961b115e175fb0128085cb1b35ae6ad437f
a24b0172287def1cb7750115298c16c15dd29c07
refs/heads/master
2020-12-02T10:03:30.428314
2017-07-09T14:11:15
2017-07-09T14:11:15
96,684,311
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
import numpy as np import chainer from chainer import cuda, Function, gradient_check, report, training, utils, Variable from chainer import datasets, iterators, optimizers, serializers from chainer import Link, Chain, ChainList import chainer.functions as F import chainer.links as L from chainer.training import extensi...
[ "knt01222@gmail.com" ]
knt01222@gmail.com
e5715062db6a8e7bb894b4f5bd2d275d98e604be
0fb505765604b586c3a46e608fc23930f8501db5
/venv/lib/python2.7/site-packages/django/contrib/messages/apps.py
1a9189383ef26083e87cbc3f46cf61eaad518797
[ "MIT" ]
permissive
domenicosolazzo/practice-django
b05edecc302d97c97b7ce1de809ea46d59e2f0e6
44e74c973384c38bd71e7c8a1aacd1e10d6a6893
refs/heads/master
2021-08-19T15:36:22.732954
2015-01-22T18:42:14
2015-01-22T18:42:14
25,118,384
0
0
MIT
2021-06-10T19:50:51
2014-10-12T12:08:47
Python
UTF-8
Python
false
false
196
py
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class MessagesConfig(AppConfig): name = 'django.contrib.messages' verbose_name = _("Messages")
[ "solazzo.domenico@gmail.com" ]
solazzo.domenico@gmail.com
4d4d16b4c0f08b20c039e19a68cbe44848bc592a
e9a210d6e58bd0450197dfb4bbbc03f66788a297
/eventplus/talks/migrations/0005_auto_20171031_0209.py
3d87473b034b28fb35cd41f7b8916e329532208b
[]
no_license
werberth/EventPlus
3895587c8f4b2b6cc03507d10badd3c3cd2c28c9
d80c2ab5ec30fa83950380567195514df1cc9892
refs/heads/master
2021-08-28T17:00:21.363698
2017-12-12T21:10:16
2017-12-12T21:10:16
108,935,215
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-10-31 05:09 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('talks', '0004_auto_20171029_2142'), ] operations = [ migrations.AlterField( ...
[ "werberthvinicius@gmail.com" ]
werberthvinicius@gmail.com
bbdab31d2d1f4947820c9b24c6c5bdd0970759c3
3ba361a591e6ed3b58340cb188aa6af5499e6802
/payment/migrations/0004_order_user_profile.py
b9c7a0b725c907e862c4ce98b6cafe1490a8963a
[]
no_license
Code-Institute-Submissions/melody-market
f7c091708c601d0ca28ae3f49e186994dfaef111
aae8aaee477d572cd09d01cea12ae23847a3a034
refs/heads/master
2023-01-02T09:59:10.492452
2020-10-01T02:50:02
2020-10-01T02:50:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
# Generated by Django 3.1.1 on 2020-09-27 02:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profiles', '0001_initial'), ('payment', '0003_auto_20200927_0228'), ] operations = [ migrations.Add...
[ "emil1811@gmail.com" ]
emil1811@gmail.com
0382e5186f5be2f338903d1f73d61706d6c1748f
d5214b1331c9dae59d95ba5b3aa3e9f449ad6695
/quintagroup.seoptimizer/tags/4.0.5/quintagroup/seoptimizer/tests/testCanonicalURL.py
77d42192d752ab25fe7804d1cac1cf632a7a209e
[]
no_license
kroman0/products
1661ee25a224c4b5f172f98110944f56136c77cf
f359bb64db22f468db5d1e411638790e94d535a2
refs/heads/master
2021-01-10T07:58:04.579234
2014-06-11T12:05:56
2014-06-11T12:05:56
52,677,831
0
0
null
null
null
null
UTF-8
Python
false
false
4,956
py
from quintagroup.canonicalpath.interfaces import ICanonicalLink from quintagroup.seoptimizer.tests.base import FunctionalTestCase from Products.PloneTestCase.PloneTestCase import portal_owner, \ default_password import re from Products.CMFCore.utils import getToolByName class TestCanonicalURL(FunctionalTestCase):...
[ "vmaksymiv@users.noreply.github.com" ]
vmaksymiv@users.noreply.github.com
7f847a8a75b0bd5215fc381713b860453fc20803
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_chart_format24.py
017038f19ec35b57c30a8bd3b6c3821087c59443
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,555
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
d635389b50b65b5803ed35e92003d0aa8cc9ca28
faba2e715f8c83234ad50c37ebb2e67636795ecb
/cursoemvideo/desafio2.py
94001bd0e3a27c0b9ce053788cbbf88276615bc2
[]
no_license
Jacksonnascimento/EstudoPython
1fc58cbc3b11811d3d1272ff1a5b89e69c9e3099
4376d2fb2c25c4ab1d7335daf4f20a05578d0d4c
refs/heads/master
2020-12-21T00:20:29.281212
2020-01-26T04:19:59
2020-01-26T04:19:59
236,252,454
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
# -*- coding: utf-8 -*- dia = input("Dia: ") mes = input("Mês: ") ano = input("Ano: ") print("Você nasceu no dia", dia, "de", mes, "de", ano)
[ "jacksonnascimento84@hotmail.com" ]
jacksonnascimento84@hotmail.com
ec9733d55c01eb7e99f50e9f9fa51fd0cb38aaf4
6662aa37e6a5df5ef72359f5e52ba74a77ef00b6
/sensors/gps_2.py
886adcf175323e317a3326910e154dad195e52be
[]
no_license
rice-eclipse/RTR-PocketBeagle
b3f4a7536a28d5e412e7184dc8399558264f0e78
11939281355204c08f32da316ee35061def254f0
refs/heads/master
2023-01-01T18:28:53.201874
2020-10-24T18:48:15
2020-10-24T18:48:15
295,223,021
0
1
null
null
null
null
UTF-8
Python
false
false
3,667
py
# Simple GPS module demonstration. # Will print NMEA sentences received from the GPS, great for testing connection # Uses the GPS to send some commands, then reads directly from the GPS import time import board #import busio import adafruit_gps import digitalio # Create a serial connection for the GPS connection using...
[ "debian@beaglebone.localdomain" ]
debian@beaglebone.localdomain
da8ec49204ea22db904b3a0f3763bec395778f84
b8a8ff8208c58941910d924b0555528b459d9275
/helper_functions.py
1dac8b49a9ff5f2ddf1059b4f1cae8a83390f2f7
[]
no_license
Fluxmux/facematching
a57cb453537993a716295c2223bc5b15f5dda728
f056a5b06133c0e4128fcc9abb592337964b3d07
refs/heads/master
2021-06-13T03:11:05.946042
2020-06-08T21:19:00
2020-06-08T21:19:00
254,416,504
1
0
null
null
null
null
UTF-8
Python
false
false
863
py
import matplotlib.pyplot as plt import numpy as np import torch # user defined imports from config import Config # helper functions def imshow(img, text=None, should_save=False): npimg = img.numpy() plt.axis("off") if text: plt.text( 75, 8, text, sty...
[ "lernerfelix@hotmail.com" ]
lernerfelix@hotmail.com
7197e5b320ce581df451038b10cf2e2ca4b3c204
e28009b0a4584e8d128ed6fbd4ba84a1db11d1b9
/824.Goat Latin/824.Goat Latin.py
9a074961d672b68bff7b9d3ae8faee89d99a8b11
[]
no_license
jerrylance/LeetCode
509d16e4285296167feb51a80d6c382b3833405e
06ed3e9b27a3f1c0c517710d57fbbd794fd83e45
refs/heads/master
2020-12-02T23:10:27.382142
2020-08-02T02:03:54
2020-08-02T02:03:54
231,141,551
3
0
null
null
null
null
UTF-8
Python
false
false
906
py
# LeetCode Solution # Zeyu Liu # 2019.6.12 # 824.Goat Latin from typing import List # method 1 straight forward class Solution: def toGoatLatin(self, S: str) -> str: vowel = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'] res = [] S = S.split() for i,v in enumerate(S)...
[ "noreply@github.com" ]
jerrylance.noreply@github.com
f920d5fcbde1c77236980b70ade0abfcf145c98c
48f75473c8a4e478c9dbfa3155997fcdab2927e2
/gerador.py
b015dde81f4fc273916dbd61fd290a719f8b470e
[]
no_license
dqrtec/grafo
16428d9fe06605f37f7ce63dc2fe7f37741d1de1
5a15dac6a157d85fa57e8b82fd67bbc08f7d60d9
refs/heads/master
2020-04-21T16:55:01.688877
2020-01-11T14:53:03
2020-01-11T14:53:03
169,718,306
0
0
null
null
null
null
UTF-8
Python
false
false
3,570
py
import pygame import sys import random import threading import time class Vertice: def __init__(self,TelaInicial,cor_vertice,x,y): self.TelaInicial = TelaInicial self.x = x self.y = y self.retangulo = pygame.draw.circle(TelaInicial,cor_vertice, (x,y) ,20) self.label = str(random.randint(0,10)) ...
[ "noreply@github.com" ]
dqrtec.noreply@github.com
eed0c20c431c455eef807d466860bcb2c6efb484
41c830ef97809c6b696c02948c99a6c0ef06ac1b
/midterm/midterm/book/models.py
d3357abbb7f68b1accd5c81b3ae11831fa8fc2ac
[]
no_license
sidakinaddd/BFDjango
b3523fec9d7ad0064848c9d4817c803e57d186e6
331f3e9df1af9927f9d6bc5d693619f256f28d24
refs/heads/master
2020-12-11T11:19:15.780295
2020-04-19T21:54:46
2020-04-19T21:54:46
233,829,497
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
from django.db import models import datetime # Create your models here. class BookJournalBase(models.Model): name = models.CharField(max_length=200) price = models.FloatField(default=0) description = models.TextField() created_date = models.DateTimeField(default=datetime.datetime.now) class Meta: ...
[ "sidakinaddd@gmail.com" ]
sidakinaddd@gmail.com