# W3bsite
Author(s): Daan van den Bergh<br>
Copyright: © 2020 Daan van den Bergh All Rights Reserved<br>
<br>
<br>
<br>
<p align="center">
<img src="https://raw.githubusercontent.com/vandenberghinc/public-storage/master/vandenberghinc/icon/icon.png" alt="VanDenBerghInc" width="50"/>
</p>
## Installation
pip3 install w3bsite --upgrade && python3 -c "import w3bsite"
### Troubleshooting:
#### Apple Silicon M1:
##### Failed to install grpcio
arch -arch x86_64 /usr/bin/python3 -m pip install firebase-admin
## Setup.
### Namecheap.
1: Go to https://namecheap.com and sign up / sign in. <br>
2: Link a credit card to your account. <br>
3: $50 balance is required to activate the developer api, so add balance if you did not reach this limit yet. <br>
4: Enable the developer API. <br>
5: Whitelist your public ip (https://aruljohn.com). <br>
6: Note / copy the api key which will be required later. <br>
### Heroku.
1: go to https://heroku.com and sign up / sign in. <br>
2: login to the heroku cli with [$ heroku login]. <br>
### /.website.py
Create a file named "website.py" in your websites root directory.
my-website/
website.py
/
Add the following code to the file.
```python
#!/usr/bin/env python3
from w3bsite import Website
from fil3s import *
website = Website(
# the root path.
root=FilePath(__file__).base(back=1),
# the website name.
name="My Website",
# the organization.
organization="My Business",
# the organization unit.
organization_unit="Information Technology",
# the organization country code.
country_code="NL",
# the root domain.
domain="mydomain.com",
# the sub domains.
sub_domains=[],
# your namecheap username.
namecheap_username="myusername",
# your namecheap api key.
namecheap_api_key=".......",)
if __name__ == "__main__":
website.cli()
```
## CLI:
Usage: example <mode> <options>
Modes:
-h / --help : Show the documentation.
Options:
Author: Daan van den Bergh
Copyright: © Daan van den Bergh 2020. All rights reserved.
## Python Examples.
Initialize the encryption class (Leave the passphrase None if you require no passphrase).
```python
# initialize the encryption class.
encryption = Encryption(
key='mykey/',
passphrase='MyPassphrase123!')
```
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | w3bsite-4.6.0.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 34 浏览量
2022-01-17
09:18:33
上传
评论
收藏 246KB GZ 举报
温馨提示
共94个文件
py:49个
html:20个
txt:6个
资源来自pypi官网。 资源全名:w3bsite-4.6.0.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
w3bsite-4.6.0.tar.gz (94个子文件)
w3bsite-4.6.0
MANIFEST.in 540B
PKG-INFO 256B
setup.cfg 79B
w3bsite
example
view.html 243B
website
settings.py 5KB
urls.py 424B
app
requests.py 824B
views.py 760B
static
media
icons
check.png 5KB
cancel.png 5KB
warning.png 13KB
graphics
icon.png 118KB
classes
config
__init__.py 3KB
utils
__init__.py 40B
requirements.txt 863B
requirements
installer 5KB
requirements.txt 937B
.gitignore 2KB
apps
dashboard
requests.py 824B
views.py 760B
.version.py 5B
__init__.py 247B
classes
namecheap
__init__.py 18KB
vps
__init__.py 7KB
config
__init__.py 1KB
cache
__init__.py 2KB
rate_limit
__init__.py 4KB
heroku
__init__.py 12KB
defaults
__init__.py 1KB
database
__init__.py 2KB
aes
__init__.py 2KB
daemons
users.py 2KB
__init__.py 96B
stripe.py 799B
rsa
__init__.py 5KB
website
__init__.py 31KB
git
__init__.py 2KB
views
products.py 2KB
html
product.html 243B
documentation_view.html 48KB
products.html 243B
__init__.py 144B
docs.py 34KB
defaults.py 7KB
__init__.py 296B
users
__init__.py 26KB
deployment
__init__.py 16KB
lib
gunicorn.service 233B
gunicorn.socket 118B
installer 7KB
README.md 46B
start 477B
django.nginx 2KB
stripe
__init__.py 28KB
security
__init__.py 10KB
firebase
__init__.py 10KB
logging
__init__.py 993B
apps
payments
html
cancel.html 12KB
purchase.html 17KB
__init__.py 57B
requests.py 10KB
views.py 1KB
example.py 4KB
defaults
css
styles.html 13KB
html
error.html 1KB
privacy_policy.html 3KB
permission_denied.html 1002B
topbar.html 3KB
base.html 7KB
maintenance.html 978B
header.html 2KB
javascript
firebase.html 7KB
defaults.html 15KB
template_data.py 244B
__init__.py 1KB
authentication
html
signin.html 3KB
signup.html 3KB
reset.html 4KB
activate.html 4KB
__init__.py 63B
requests.py 11KB
views.py 2KB
utils
__init__.py 17KB
email
__init__.py 3KB
django
__init__.py 10KB
README.md 2KB
setup.py 683B
w3bsite.egg-info
PKG-INFO 256B
requires.txt 33B
not-zip-safe 1B
SOURCES.txt 3KB
top_level.txt 8B
dependency_links.txt 1B
README.md 2KB
共 94 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python课设-学生信息管理系统
- 广东省2021年普通高考音乐表演-器乐类总分分数段统计表(含本、专科层次加分)
- ubuntu20.04安装教程.md
- 广东省2021年普通高考音乐表演-声乐类总分分数段统计表(含本、专科层次加分)
- 广东省2021年普通高考音乐学类总分分数段统计表(含本、专科层次加分)
- 广东省2021年普通高考舞蹈类总分分数段统计表(含本、专科层次加分)
- Python教程-快速入门基础必看课程10-函数基础
- tensorflow-2.9.2-cp39-cp39-win-amd64.whl
- tensorflow-2.9.2-cp37-cp37m-win-amd64.whl
- 广东省2021年普通高考体育类总分分数段统计表(含本、专科层次加分)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功