eggplants
193ac3d7d4
add: versem to setuptools
2022-02-03 22:09:09 +09:00
eggplants
f0776152b7
fix: way to install deps in CI
2022-02-03 22:04:37 +09:00
eggplants
c96d8c8fc2
fix: ignore W605 for banner
2022-02-03 21:51:34 +09:00
eggplants
09fc4baaec
fix: banner
2022-02-03 21:47:23 +09:00
eggplants
0d9cb63971
fix: datetime.datetime -> datetime
2022-02-03 21:37:26 +09:00
eggplants
79259b4026
fix: flake8 errors in tests/
2022-02-03 21:33:25 +09:00
eggplants
01d8ff3ff5
fix: merge __version__.py into __init__.py
2022-02-03 21:18:03 +09:00
eggplants
a250e1d71e
fix: metadata.name does not accept attr
2022-02-03 21:16:59 +09:00
eggplants
2685fefc88
add: E501 to flake ignore
2022-02-03 20:29:12 +09:00
eggplants
5e491aaf55
fix: flake8 section in setup.cfg
2022-02-03 20:28:02 +09:00
eggplants
7cc7d5a288
format with black and isort
2022-02-03 20:27:17 +09:00
eggplants
bae383b282
add: __download_url__
2022-02-03 20:27:00 +09:00
eggplants
f14bae0c3e
add: configure files (setup.py->setup.py+setup.cfg+pyproject.toml)
2022-02-03 20:26:37 +09:00
Akash Mahanty
5cbdfc040b
waybackpy/cli.py : remove duplicate original_string from output_string in cdx
2022-01-30 21:02:25 +05:30
Akash Mahanty
3be6ac01fc
created tests/test_cdx_api.py: added tests for cdx_api.py
2022-01-30 20:03:40 +05:30
Akash Mahanty
b8b9bc098f
tests/test_utils.py: test latest_version_pypi and latest_version_github of waybackpy.utils
2022-01-30 20:02:17 +05:30
Akash Mahanty
946c28eddf
waybackpy/cli.py: Added help text, fix bug in the cdx_print parameter and lots of other stuff
...
parameter --filters is now --filter
parameter --collapses is now --collapse
added a new --license flag for fetching the license from GitHub repo and printing it.
2022-01-30 20:00:50 +05:30
Akash Mahanty
004027f73b
waybackpy/utils.py : Add a new function(latest_version_github) to fetch the latest release from github api and renamed latest_version to latest_version_pypi as now we have two functions to get the latest release.
2022-01-30 13:28:13 +05:30
Akash Mahanty
e86dd93b29
Delete custom.md
2022-01-30 11:45:51 +05:30
Akash Mahanty
988568e8f0
Update issue templates
2022-01-30 11:44:30 +05:30
Akash Mahanty
f4c32a44fd
Merge pull request #123 from akamhy/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2022-01-30 11:39:22 +05:30
Akash Mahanty
7755e6391c
Create CODE_OF_CONDUCT.md
2022-01-30 11:39:11 +05:30
Akash Mahanty
9dbe3b3bf4
In waybackpy/wrapper.py set self.timestamp to None on init.
...
In older interface(2.x.x) we had timestamp set to none in the constructer, so maybe it should be best to set it to None in the backwards compatiblliy module.)
2022-01-29 22:12:02 +05:30
Akash Mahanty
e84ba9f2c3
Merge pull request #122 from akamhy/update-readme
...
add conda install and related links and tell users that they can copy…
2022-01-27 00:25:49 +05:30
Akash Mahanty
1250d105b4
update install command for conda and replace the link to conda-forge.org with https://anaconda.org/conda-forge/waybackpy
2022-01-27 00:17:36 +05:30
Akash Mahanty
f03b2cb6cb
fix formatting of ASCII art
2022-01-26 18:24:24 +05:30
Akash Mahanty
5e0ea023e6
update CLI help text
2022-01-26 16:23:24 +05:30
Akash Mahanty
8dff6f349e
add maintainers
2022-01-26 15:45:03 +05:30
Akash Mahanty
e04cfdfeaf
add conda install and related links and tell users that they can copy text from asciinema.org
2022-01-26 15:40:33 +05:30
Akash Mahanty
0e2cc8f5ba
+ asciicast https://asciinema.org/a/464367
...
[](https://asciinema.org/a/464367 )
2022-01-26 14:51:06 +05:30
Akash Mahanty
9007149fef
3.0.1 -- > 3.0.2, for condaforge staged-recipes issues
3.0.2
2022-01-26 01:54:58 +05:30
Akash Mahanty
8b7603e241
the test is faulty as it fails when we increment the version on dunder version file but did not upstreamed the code to PyPi.
2022-01-26 01:51:24 +05:30
Akash Mahanty
5ea1d3ba4f
Replace NON-ASCII character figlet with ASCII character figlet.
2022-01-26 01:46:42 +05:30
Akash Mahanty
4408c5e2ca
add snapcraft.yaml
2022-01-25 20:54:09 +05:30
Akash Mahanty
9afe29a819
Merge pull request #119 from akamhy/akamhy-patch-1
...
v3.0.0 --> v3.0.1
3.0.1
2022-01-25 19:54:01 +05:30
Akash Mahanty
d79b10c74c
v3.0.0 --> v3.0.1
2022-01-25 19:52:10 +05:30
Akash Mahanty
32314dc102
Merge branch 'build-test' #118
...
Add build test to CI
see #117
2022-01-25 14:02:36 +05:30
Akash Mahanty
50e176e2ba
.github/workflows/build_test.yml : change python versions from '3.4', '3.8', '3.10' to '3.6', '3.10' as 3.4 not found by GitHub.
2022-01-25 13:56:49 +05:30
Akash Mahanty
4007859c92
Install dependencies for build test in CI : setuptools wheel
2022-01-25 13:35:58 +05:30
Akash Mahanty
d8bd6c628d
Add build test to CI
2022-01-25 13:30:16 +05:30
Akash Mahanty
28f6ff8df2
Merge pull request #116 from akamhy/patch-setup-py
...
Fix syntax for opening the README.md and __version__.py
2022-01-25 13:11:33 +05:30
Akash Mahanty
7ac9353f74
Fix syntax for opening the README.md and __version__.py
...
For some reason updates made at https://github.com/akamhy/waybackpy/pull/114
are breaking the build using setup, caught while deploying to a cloud service
provider.
The exact error is:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-n3b9e5pj/setup.py", line 5
os.path.join(os.path.dirname(__file__), README.md), encoding=utf-8),
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
See also :
https://github.com/conda-forge/staged-recipes/pull/17634
2022-01-25 13:05:01 +05:30
Akash Mahanty
15c7244a22
Merge pull request #115 from akamhy/akamhy-patch-1
...
do not use f-strings in setup.py
2022-01-25 10:42:27 +05:30
Akash Mahanty
8510210e94
do not use f-strings in setup.py
...
These are not supported in <Python 3.6 version of the cpython.
2022-01-25 10:34:46 +05:30
Akash Mahanty
552967487e
Merge pull request #114 from rafaelrdealmeida/patch-1
...
Update setup.py
See also <https://github.com/akamhy/waybackpy/issues/111#issuecomment-1020673814 >
2022-01-25 10:30:34 +05:30
Rafael de Almeida
86a90a3840
Update setup.py
...
pep8
2022-01-24 22:03:28 -03:00
Rafael de Almeida
759874cdc6
Update setup.py
...
see: https://github.com/akamhy/waybackpy/issues/111#issuecomment-1020673814
2022-01-24 21:23:31 -03:00
Akash Mahanty
06095202fe
BUG FIX : forgot to use the endpoint from the instance and also assign payload to param. Bug caught by the flake8 in the CI tests.
2022-01-24 23:35:48 +05:30
Akash Mahanty
06fc7855bf
waybackpy/cdx_api.py : deafult user agent is now DEFAULT_USER_AGENT, get_response now take url and headers as arguments and request url is generated by full_url function. max_tries added as parameter for the WaybackMachineCDXServerAPI class with default value of 3.
2022-01-24 23:20:49 +05:30
Akash Mahanty
c49fe971fd
update the older deprecation not for Url class, the newer date is now 2025 instead of 2024.
2022-01-24 23:15:59 +05:30