Skip to content

Commit

Permalink
Release new version
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiedAlshahrani committed Aug 22, 2022
1 parent 63a9b5a commit 36d5044
Show file tree
Hide file tree
Showing 11 changed files with 3,211 additions and 371 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ logo_colored.py
.DS_Store
wikistats2csv/.DS_Store
tests/.DS_Store
wikistats2csv/__pycache__/content.cpython-39.pyc
wikistats2csv/__pycache__/contributing.cpython-39.pyc
wikistats2csv/__pycache__/custom_argparse.cpython-39.pyc
wikistats2csv/__pycache__/helper.cpython-39.pyc
wikistats2csv/__pycache__/reading.cpython-39.pyc
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 SaiedAlshahrani
Copyright (c) 2022 Saied Alshahrani

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,8 @@ $ wikistats2csv -w ar -m content -q pages-to-date -p all-years -f page-type-all
### * As Python Package:

```python
>>> from wikistats2csv import Helper
>>> from wikistats2csv import Content
>>>
>>> Content.pages_to_date(wiki='es', period='all-years', filter='page-type-all', interval='monthly')

## Downloaded `spanish--pages-to-date--page-type-all--all-years--monthly.csv` successfully :-)

** Quick glance at `spanish--pages-to-date--page-type-all--all-years--monthly.csv` file:
Expand Down Expand Up @@ -120,4 +117,4 @@ $ wikistats2csv -w ar -m content -q pages-to-date -p all-years -f page-type-all
| unique-devices* <br>unique_devices** | all-years, <br>one-year, <br>two-years, <br>three-months, <br>one-month | no-filter, <br/>access-site-mobile-site, <br/>access-site-desktop-site, <br/>access-site-all | daily,<br> monthly |
| top-viewed-articles*<br>top_viewed_articles** | last-month | no-filter, <br/>access-method-desktop,<br/> access-method-mobile-app,<br/>access-method-mobile-web, <br/>access-method-all | daily,<br> monthly |

<i> * CLI Queries.        ** Py Functions.        *** More complex filters are coming to the new versions.</i>*
<i> * CLI Queries.        ** Py Functions.        *** More complex filters are coming to the new versions.</i>
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name = 'wikistats2csv',
version = '0.1.1',
version = '0.1.2',
license = 'MIT',
author = 'Saied Alshahrani',
author_email = '[email protected]',
Expand All @@ -21,5 +21,5 @@
keywords = ['wikipedia','statistics', 'wikimedia', 'csv'],
install_requires = ['lxml==4.9.1', 'rich==12.5.1','pandas==1.4.3','selenium==3.141.0', 'geckodriver-autoinstaller==0.1.0'],
entry_points = {'console_scripts':['wikistats2csv = wikistats2csv.wikistats2csv:main']},
classifiers = ['Programming Language :: Python :: 3', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent']
classifiers = ['Programming Language :: Python :: 3', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent']
)
3 changes: 2 additions & 1 deletion wikistats2csv/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from .helper import Helper
from .content import Content
from .reading import Reading
from .contributing import Contributing
from .contributing import Contributing
from .custom_argparse import ArgumentParser
209 changes: 140 additions & 69 deletions wikistats2csv/content.py

Large diffs are not rendered by default.

319 changes: 213 additions & 106 deletions wikistats2csv/contributing.py

Large diffs are not rendered by default.

Loading

0 comments on commit 36d5044

Please sign in to comment.