Skip to content

Commit

Permalink
[UPD] Add file header in all Python files
Browse files Browse the repository at this point in the history
  • Loading branch information
mccwdev committed Mar 27, 2021
1 parent aafbe22 commit 58ff2e7
Show file tree
Hide file tree
Showing 13 changed files with 151 additions and 4 deletions.
12 changes: 12 additions & 0 deletions blocksmurfer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

import datetime
from flask import Flask, send_from_directory, request
from flask_babel import Babel
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import Blueprint

bp = Blueprint('api', __name__)
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/api/address.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import jsonify, current_app
from flask_restful import marshal, request
from blocksmurfer.api import bp
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/api/block.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import jsonify, current_app
from flask_restful import marshal, request
from blocksmurfer.api import bp
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/api/network.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import jsonify
from flask_restful import marshal
from blocksmurfer.api import bp
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/api/structures.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask_restful import fields
from flask_restful.fields import MarshallingException

Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/api/transaction.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import jsonify, abort
from flask_restful import marshal, request
from flask_babel import _
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/explorer/search.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from bitcoinlib.keys import Address, get_key_format
from blocksmurfer.explorer.service import check_txid, network_code_translation
from flask import redirect, url_for, flash
Expand Down
11 changes: 7 additions & 4 deletions blocksmurfer/explorer/service.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer Crypto block explorer based on Bitcoinlib
# © 2020 January - 1200 Web Development <http://1200wd.com/>
# Blocksmurfer - Blockchain Explorer
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import abort, current_app, session
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/main/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import Blueprint

bp = Blueprint('main', __name__)
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/main/errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import jsonify, request, render_template, Blueprint
from flask_babel import _
import logging
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/main/forms.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, TextAreaField, IntegerField
from wtforms.validators import InputRequired
Expand Down
12 changes: 12 additions & 0 deletions blocksmurfer/main/routes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -*- coding: utf-8 -*-
#
# Blocksmurfer - Blockchain Explorer
#
# © 2020-2021 March - 1200 Web Development
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#

from flask import render_template, flash, redirect, url_for, request, current_app, session
from flask_babel import _
from config import Config
Expand Down

0 comments on commit 58ff2e7

Please sign in to comment.