Skip to main content

WebEdge

We all have inborn talent and also inborn failings,
So often scorn a balance, chained to our own railings,
And our world misses a website that deserved to be a star,
But not unfurled in all its might, merely cowering from afar,
Why not take your Van Dyke, or Rembrandt seen by few,
And let us make it see the light, exposed to global view,
Don't hide them in shadows behind barriers of your mind,
Where pride and jealous arrows make them hard to find,
Instead turn to experts just as good as you would like to be,
Who you'll learn to trust, and who will set your website free.

Developed with ♥ by your friends at MLH Fellowship Team-1.

version 1.0.0 license MIT MLH Fellowship Team 1 GitHub-Actions-Build Code Format: Black

💥 Introduction

Bringing Edge to your Web Performance

Rise of Web has heralded the increasing ways in which we optimize Digital Performance. With SEO and Web Performance playing an important part, Developers feel lost around Performance needs. WebEdge aims to fix this 🌐

WebEdge have been introduced to suggest Web Optimizations for the App that can speed up operations and boost productivity ⚡

💡 Why did we build it?

As Frontend Developers, Performance plays an important part for Ranking and User Experience. The priority is such that it cannot be avoided any longer. WebEdge provides a Python Package for you to scrap you Website and auto-suggest improvements you can make to improve your Optimization Ranking ♾️

With this Package, we aim to have a unified tool to improve your SEO Ranking with real-time optimizations, that you can fix as a Developer. Sounds interesting? Well it is 🔥

🚀 Installation

To install WebEdge, we can use pip:

pip3 install webedge

The standard Python package will setup the CLI and you can use the same for local testing and analysis of your website and webpages.

 _       __     __    ______    __         
| |     / /__  / /_  / ____/___/ /___ ____ 
| | /| / / _ \/ __ \/ __/ / __  / __ `/ _ \
| |/ |/ /  __/ /_/ / /___/ /_/ / /_/ /  __/
|__/|__/\___/_.___/_____/\__,_/\__, /\___/ 
                              /____/       


usage: webedge [-h] -d DOMAIN [-s SITEMAP] [-p PAGE]

🛠️ Local development

That's pretty easy. To ensure that you are able to install everything properly, we would recommend you to have Git, Python and pip installed. You should ideally work with a Virtual Environment, such as venv or the virtualenv module, to get the best out of the package.

We will first start with setting up the Local Project Environment:

git clone https://github.com/HarshCasper/WebEdge.git
cd WebEdge
virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 setup.py install

Once you run the Commands and get everything fine, we are all set to run the tool ✔️

Let's run the tool now:

webedge -d http://[DOMAIN_NAME]/
  • For example if your domain is https://fastcoder.netlify.app/ then your command should be (you can use http or https in the command according to your needs):
webedge -d https://fastcoder.netlify.app/

Pass your Website to the tool and you will get a generated JSON highlighting all the achievements you have made in SEO Optimization or the warnings being displayed by the same 🔑

To run the tests, simply push:

nosetests --with-coverage --cover-package=webedge tests.unit

To build with Docker, simply push:

docker build -t 'app:webedge' .
docker run app:webedge

🛑 External Tools

The Python Files have been linted using flake8 which automatically suggests linting errors and issues with formatting and styling. You can run the flake8 command with the given configuration in the Project 🍀

We are also making use of DeepSource Analysis, which can be viewed here. This allows us to identify potential bugs and anti-patterns with each push to the repository, and potentially fix it 🐛

For setting up CI/CD, we are making use of GitHub Actions. With a simple configuration set-up, we were able to test each build for specific issues, which can be viewed here 🌱

📜 LICENSE

MIT License

Metadata

Release files for WebEdge 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WebEdge 1.0.2
File Size Uploaded
WebEdge-1.0.2.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for WebEdge 1.0.2
File Interpreter ABI Platform
WebEdge-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.2 kB

Release files / WebEdge-1.0.2.tar.gz

Download URL WebEdge-1.0.2.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
781e7f32a792348ca8aecc38f19e116342add611d7c4108f184f9c9d0f53d5b7
BLAKE2b-256 checksum
How to use checksums
ee3e7075c1e580408707e1cb704c9c4dc273e74e35a98e0ebb3de87fc4f0ac4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.8

Release files / WebEdge-1.0.2-py3-none-any.whl

Download URL WebEdge-1.0.2-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96da745f971805b74c030ab0de947da8cc6c9b03f23f5bfa9dc58b8aaa91eef9
BLAKE2b-256 checksum
How to use checksums
004b86de53985be787d4e2a34665ff7cc9fae583130d0dbec5a37c1fb46f2b86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page