Skip to content

Commit 9618002

Browse files
committed
Initial Release
1 parent 7038233 commit 9618002

6 files changed

Lines changed: 50 additions & 323 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# bpython-django
2+
3+
This project is based on [bpython](https://github.com/bpython/bpython) REPL, I liked it very much but it missed some features for Django, like
4+
* Autocomplete the constructor for the model,
5+
* Autocomplete the attribute name on ModelManager functions like 'filter()' and 'get()'
6+
7+
## Examples
8+
9+
![example1](./example1.png)
10+
![example2](./example2.png)
11+
12+
## Install
13+
14+
`pip install bpython-django`
15+
16+
## Usage
17+
18+
`python manage shell`
19+
or
20+
`python manage shell -i bpython`

README.rst

Lines changed: 0 additions & 253 deletions
This file was deleted.

example1.png

22.6 KB
Loading

example2.png

18.5 KB
Loading

setup.cfg

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +0,0 @@
1-
[metadata]
2-
name = bpython
3-
long_description = file: README.rst
4-
license = MIT
5-
license_file = LICENSE
6-
url = https://www.bpython-interpreter.org/
7-
project_urls =
8-
GitHub = https://github.com/bpython/bpython
9-
Documentation = https://doc.bpython-interpreter.org
10-
classifiers =
11-
Programming Language :: Python :: 3
12-
13-
[options]
14-
python_requires = >=3.6
15-
packages =
16-
bpython
17-
bpython.curtsiesfrontend
18-
bpython.test
19-
bpython.test.fodder
20-
bpython.translations
21-
bpdb
22-
install_requires =
23-
backports.cached-property; python_version < "3.8"
24-
curtsies >=0.3.5
25-
dataclasses; python_version < "3.7"
26-
cwcwidth
27-
greenlet
28-
pygments
29-
pyxdg
30-
requests
31-
32-
[options.extras_require]
33-
clipboard = pyperclip
34-
jedi = jedi >= 0.16
35-
urwid = urwid
36-
watch = watchdog
37-
38-
[options.entry_points]
39-
console_scripts =
40-
bpython = bpython.curtsies:main
41-
bpython-curses = bpython.cli:main
42-
bpython-urwid = bpython.urwid:main [urwid]
43-
bpdb = bpdb:main
44-
45-
[init_catalog]
46-
domain = bpython
47-
input_file = bpython/translations/bpython.pot
48-
output_dir = bpython/translations
49-
50-
[compile_catalog]
51-
domain = bpython
52-
directory = bpython/translations
53-
use_fuzzy = true
54-
55-
[update_catalog]
56-
domain = bpython
57-
input_file = bpython/translations/bpython.pot
58-
output_dir = bpython/translations
59-
60-
[extract_messages]
61-
output_file = bpython/translations/bpython.pot
62-
msgid_bugs_address = https://github.com/bpython/bpython/issues
63-
64-
[build_sphinx_man]
65-
builder = man
66-
source_dir = doc/sphinx/source
67-
build_dir = build

setup.py

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,44 @@ def git_describe_to_python_version(version):
178178
mo_files.append(mo_subpath)
179179

180180
setup(
181-
version=version,
182-
author=__author__,
183-
author_email="robertanthonyfarrell@gmail.com",
181+
name='bpython-django',
182+
version="0.22.1",
183+
author='Mohamed ElKalioby',
184+
author_email="mkalioby@mkalioby.com",
185+
description='Customized bpython for Django Projects',
186+
long_description=open("README.md").read(),
187+
long_description_content_type="text/markdown",
184188
data_files=data_files,
189+
url = 'https://github.com/mkalioby/bpython-django/',
190+
download_url='https://github.com/mkalioby/bpython-django/',
191+
python_requires=">=3.6",
185192
package_data={
186193
"bpython": ["sample-config"],
187194
"bpython.translations": mo_files,
188195
"bpython.test": ["test.config", "test.theme"],
189196
},
190197
cmdclass=cmdclass,
191198
test_suite="bpython.test",
199+
classifiers=[
200+
"Development Status :: 5 - Production/Stable",
201+
"Environment :: Web Environment",
202+
"Framework :: Django",
203+
"Framework :: Django :: 2.0",
204+
"Framework :: Django :: 2.1",
205+
"Framework :: Django :: 2.2",
206+
"Framework :: Django :: 3.0",
207+
"Framework :: Django :: 3.1",
208+
"Intended Audience :: Developers",
209+
"Operating System :: OS Independent",
210+
"Programming Language :: Python",
211+
"Programming Language :: Python :: 3",
212+
"Programming Language :: Python :: 3.5",
213+
"Programming Language :: Python :: 3.6",
214+
"Programming Language :: Python :: 3.7",
215+
"Programming Language :: Python :: 3.8",
216+
"Programming Language :: Python :: 3.9",
217+
"Topic :: Software Development :: Libraries :: Python Modules"
218+
]
192219
)
193220

194221
# vim: fileencoding=utf-8 sw=4 ts=4 sts=4 ai et sta

0 commit comments

Comments
 (0)