Skip to content
This repository was archived by the owner on Jun 4, 2021. It is now read-only.

Commit 8d97956

Browse files
committed
initial commit.
1 parent 4515aaa commit 8d97956

File tree

14 files changed

+298
-0
lines changed

14 files changed

+298
-0
lines changed

.gitignore

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Python template
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
*.py[cod]
6+
*$py.class
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
build/
14+
develop-eggs/
15+
dist/
16+
downloads/
17+
eggs/
18+
.eggs/
19+
lib/
20+
lib64/
21+
parts/
22+
sdist/
23+
var/
24+
wheels/
25+
pip-wheel-metadata/
26+
share/python-wheels/
27+
*.egg-info/
28+
.installed.cfg
29+
*.egg
30+
MANIFEST
31+
32+
# PyInstaller
33+
# Usually these files are written by a python script from a template
34+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
35+
*.manifest
36+
*.spec
37+
38+
# Installer logs
39+
pip-log.txt
40+
pip-delete-this-directory.txt
41+
42+
# Unit test / coverage reports
43+
htmlcov/
44+
.tox/
45+
.nox/
46+
.coverage
47+
.coverage.*
48+
.cache
49+
nosetests.xml
50+
coverage.xml
51+
*.cover
52+
*.py,cover
53+
.hypothesis/
54+
.pytest_cache/
55+
56+
# Translations
57+
*.mo
58+
*.pot
59+
60+
# Django stuff:
61+
*.log
62+
local_settings.py
63+
db.sqlite3
64+
db.sqlite3-journal
65+
66+
# Flask stuff:
67+
instance/
68+
.webassets-cache
69+
70+
# Scrapy stuff:
71+
.scrapy
72+
73+
# Sphinx documentation
74+
docs/_build/
75+
76+
# PyBuilder
77+
target/
78+
79+
# Jupyter Notebook
80+
.ipynb_checkpoints
81+
82+
# IPython
83+
profile_default/
84+
ipython_config.py
85+
86+
# pyenv
87+
.python-version
88+
89+
# pipenv
90+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
92+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
93+
# install all needed dependencies.
94+
#Pipfile.lock
95+
96+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
97+
__pypackages__/
98+
99+
# Celery stuff
100+
celerybeat-schedule
101+
celerybeat.pid
102+
103+
# SageMath parsed files
104+
*.sage.py
105+
106+
# Environments
107+
.env
108+
.venv
109+
env/
110+
venv/
111+
ENV/
112+
env.bak/
113+
venv.bak/
114+
115+
# Spyder project settings
116+
.spyderproject
117+
.spyproject
118+
119+
# Rope project settings
120+
.ropeproject
121+
122+
# mkdocs documentation
123+
/site
124+
125+
# mypy
126+
.mypy_cache/
127+
.dmypy.json
128+
dmypy.json
129+
130+
# Pyre type checker
131+
.pyre/
132+

.idea/.gitignore

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/PyDebug.iml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/rSettings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

setup.py

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
from setuptools import setup
2+
from src.PyDebug.__version__ import version
3+
4+
5+
6+
7+
data_files = [
8+
'PyDebug/*.py'
9+
]
10+
setup(
11+
name='PyDebug',
12+
version=version,
13+
packages=['PyDebug'],
14+
url='https://github.com/Jakar510/PyDebug',
15+
license='GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007',
16+
author='Tyler Stegmaier',
17+
author_email='tyler.stegmaier.510@gmail.com',
18+
description='A pure python way to efficiently do a c++ style switch case in Python 3.6+.',
19+
install_requires=[],
20+
classifiers=[
21+
# How mature is this project? Common values are
22+
# 3 - Alpha
23+
# 4 - Beta
24+
# 5 - Production/Stable
25+
'Development Status :: 3 - Alpha',
26+
27+
# Indicate who your project is intended for
28+
'Intended Audience :: Developers',
29+
'Topic :: Software Development :: Build Tools',
30+
31+
# Pick your license as you wish
32+
'License :: Free To Use But Restricted',
33+
34+
# Support platforms
35+
'Operating System :: MacOS',
36+
'Operating System :: Microsoft :: Windows',
37+
'Operating System :: POSIX',
38+
39+
'Programming Language :: Python :: 3',
40+
],
41+
keywords='switch switch-case case',
42+
package_dir={'PyDebug': 'src/PyDebug'},
43+
package_data={
44+
'PyDebug': data_files,
45+
},
46+
)
47+

src/PyDebug/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from .converters import *
2+
from .console import *
3+
from .decorators import *
4+
5+
__all__ = ['PRINT', 'getPPrintStr', 'debug', 'IsAttributePrivate', 'ObjectToDict']
6+

0 commit comments

Comments
 (0)