forked from reingart/pyafipws
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_formato_dbf : initial test cases
Signed-off-by: SONIABHISHEK121 <[email protected]>
- Loading branch information
1 parent
90ef00f
commit 66953db
Showing
108 changed files
with
3,202 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# This file must be used with "source bin/activate" *from bash* | ||
# you cannot run it directly | ||
|
||
deactivate () { | ||
# reset old environment variables | ||
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then | ||
PATH="${_OLD_VIRTUAL_PATH:-}" | ||
export PATH | ||
unset _OLD_VIRTUAL_PATH | ||
fi | ||
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then | ||
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}" | ||
export PYTHONHOME | ||
unset _OLD_VIRTUAL_PYTHONHOME | ||
fi | ||
|
||
# This should detect bash and zsh, which have a hash command that must | ||
# be called to get it to forget past commands. Without forgetting | ||
# past commands the $PATH changes we made may not be respected | ||
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then | ||
hash -r 2> /dev/null | ||
fi | ||
|
||
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then | ||
PS1="${_OLD_VIRTUAL_PS1:-}" | ||
export PS1 | ||
unset _OLD_VIRTUAL_PS1 | ||
fi | ||
|
||
unset VIRTUAL_ENV | ||
unset VIRTUAL_ENV_PROMPT | ||
if [ ! "${1:-}" = "nondestructive" ] ; then | ||
# Self destruct! | ||
unset -f deactivate | ||
fi | ||
} | ||
|
||
# unset irrelevant variables | ||
deactivate nondestructive | ||
|
||
VIRTUAL_ENV="C:\Users\ADMIN\Desktop\pyafipws\env" | ||
export VIRTUAL_ENV | ||
|
||
_OLD_VIRTUAL_PATH="$PATH" | ||
PATH="$VIRTUAL_ENV/Scripts:$PATH" | ||
export PATH | ||
|
||
# unset PYTHONHOME if set | ||
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway) | ||
# could use `if (set -u; : $PYTHONHOME) ;` in bash | ||
if [ -n "${PYTHONHOME:-}" ] ; then | ||
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}" | ||
unset PYTHONHOME | ||
fi | ||
|
||
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then | ||
_OLD_VIRTUAL_PS1="${PS1:-}" | ||
PS1="(env) ${PS1:-}" | ||
export PS1 | ||
VIRTUAL_ENV_PROMPT="(env) " | ||
export VIRTUAL_ENV_PROMPT | ||
fi | ||
|
||
# This should detect bash and zsh, which have a hash command that must | ||
# be called to get it to forget past commands. Without forgetting | ||
# past commands the $PATH changes we made may not be respected | ||
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then | ||
hash -r 2> /dev/null | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@echo off | ||
|
||
rem This file is UTF-8 encoded, so we need to update the current code page while executing it | ||
for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do ( | ||
set _OLD_CODEPAGE=%%a | ||
) | ||
if defined _OLD_CODEPAGE ( | ||
"%SystemRoot%\System32\chcp.com" 65001 > nul | ||
) | ||
|
||
set VIRTUAL_ENV=C:\Users\ADMIN\Desktop\pyafipws\env | ||
|
||
if not defined PROMPT set PROMPT=$P$G | ||
|
||
if defined _OLD_VIRTUAL_PROMPT set PROMPT=%_OLD_VIRTUAL_PROMPT% | ||
if defined _OLD_VIRTUAL_PYTHONHOME set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME% | ||
|
||
set _OLD_VIRTUAL_PROMPT=%PROMPT% | ||
set PROMPT=(env) %PROMPT% | ||
|
||
if defined PYTHONHOME set _OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME% | ||
set PYTHONHOME= | ||
|
||
if defined _OLD_VIRTUAL_PATH set PATH=%_OLD_VIRTUAL_PATH% | ||
if not defined _OLD_VIRTUAL_PATH set _OLD_VIRTUAL_PATH=%PATH% | ||
|
||
set PATH=%VIRTUAL_ENV%\Scripts;%PATH% | ||
set VIRTUAL_ENV_PROMPT=(env) | ||
|
||
:END | ||
if defined _OLD_CODEPAGE ( | ||
"%SystemRoot%\System32\chcp.com" %_OLD_CODEPAGE% > nul | ||
set _OLD_CODEPAGE= | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'PyAfipWs==3.11.2984','console_scripts','cot' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'PyAfipWs==3.11.2984' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('PyAfipWs==3.11.2984', 'console_scripts', 'cot')()) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@echo off | ||
|
||
if defined _OLD_VIRTUAL_PROMPT ( | ||
set "PROMPT=%_OLD_VIRTUAL_PROMPT%" | ||
) | ||
set _OLD_VIRTUAL_PROMPT= | ||
|
||
if defined _OLD_VIRTUAL_PYTHONHOME ( | ||
set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%" | ||
set _OLD_VIRTUAL_PYTHONHOME= | ||
) | ||
|
||
if defined _OLD_VIRTUAL_PATH ( | ||
set "PATH=%_OLD_VIRTUAL_PATH%" | ||
) | ||
|
||
set _OLD_VIRTUAL_PATH= | ||
|
||
set VIRTUAL_ENV= | ||
set VIRTUAL_ENV_PROMPT= | ||
|
||
:END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.3','console_scripts','futurize' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'future==0.18.3' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('future==0.18.3', 'console_scripts', 'futurize')()) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'PyAfipWs==3.11.2984','console_scripts','iibb' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'PyAfipWs==3.11.2984' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('PyAfipWs==3.11.2984', 'console_scripts', 'iibb')()) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'PyAfipWs==3.11.2984','console_scripts','padron' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'PyAfipWs==3.11.2984' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('PyAfipWs==3.11.2984', 'console_scripts', 'padron')()) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.3','console_scripts','pasteurize' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'future==0.18.3' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('future==0.18.3', 'console_scripts', 'pasteurize')()) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'PyAfipWs==3.11.2984','console_scripts','pyemail' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'PyAfipWs==3.11.2984' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('PyAfipWs==3.11.2984', 'console_scripts', 'pyemail')()) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'PyAfipWs==3.11.2984','console_scripts','pyfepdf' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'PyAfipWs==3.11.2984' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('PyAfipWs==3.11.2984', 'console_scripts', 'pyfepdf')()) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!C:\Users\ADMIN\Desktop\pyafipws\env\Scripts\python.exe | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'PyAfipWs==3.11.2984','console_scripts','pyi25' | ||
import re | ||
import sys | ||
|
||
# for compatibility with easy_install; see #2198 | ||
__requires__ = 'PyAfipWs==3.11.2984' | ||
|
||
try: | ||
from importlib.metadata import distribution | ||
except ImportError: | ||
try: | ||
from importlib_metadata import distribution | ||
except ImportError: | ||
from pkg_resources import load_entry_point | ||
|
||
|
||
def importlib_load_entry_point(spec, group, name): | ||
dist_name, _, _ = spec.partition('==') | ||
matches = ( | ||
entry_point | ||
for entry_point in distribution(dist_name).entry_points | ||
if entry_point.group == group and entry_point.name == name | ||
) | ||
return next(matches).load() | ||
|
||
|
||
globals().setdefault('load_entry_point', importlib_load_entry_point) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(load_entry_point('PyAfipWs==3.11.2984', 'console_scripts', 'pyi25')()) |
Binary file not shown.
Oops, something went wrong.