eRepublik-0.30.0.8
0.30.0.8
0.30.0.7
0.30.0.6
0.30.0.5
0.30.0.4
0.30.0.3
0.30.0.2
0.30.0.1
0.30.0
0.29.2.3
0.29.2.2
0.29.2.1
0.29.2
0.29.1
0.29.0.6
0.29.0.5
0.29.0.4
0.29.0.3
0.29.0.2
0.29.0.1
0.29.0
0.28.3
0.28.2
0.28.1
0.28.0.4
0.28.0.3
0.28.0.2
0.28.0.1
0.28.0
0.27.2
0.27.1
0.27.0
0.26.0.2
0.26.0.1
0.26.0
0.25.1.5
0.25.1.4
0.25.1.3
0.25.1.2
0.25.1.1
0.25.1
0.25.0.4
0.25.0.3
0.25.0.2
0.25.0.1
0.25.0
0.24.2.4
0.24.2.3
0.24.2.2
0.24.2.1
0.24.2
0.24.1
0.24.0.5
0.24.0.3
0.24.0.2
0.24.0.1
0.24.0
0.23.4.9
0.23.4.8
0.23.4.7
0.23.4.6
0.23.4.5
0.23.4.4
0.23.4.3
0.23.4.2
0.23.4.16
0.23.4.15
0.23.4.14
0.23.4.13
0.23.4.12
0.23.4.11
0.23.4.10
0.23.4.1
0.23.4
0.23.3.4
0.23.3.3
0.23.3.2
0.23.3.1
0.23.3
0.23.2.9
0.23.2.8
0.23.2.7
0.23.2.6
0.23.2.5
0.23.2.4
0.23.2.3
0.23.2.2
0.23.2.11
0.23.2.10
0.23.2.1
0.23.2
0.23.1.2
0.23.1.1
0.23.1
0.23.0
0.22.3.3
0.22.3.2
0.22.3.1
0.22.3
0.22.2.1
0.22.1.5
0.22.1.4
0.22.1.3
0.22.1.2
0.22.1.1
0.22.1
0.22.0
0.21.5.8
0.21.5.7
0.21.5.6
0.21.5.5
0.21.5.4
0.21.5.3
0.21.5.2
0.21.5.1
0.21.5
0.21.4.8
0.21.4.7
0.21.4.6
0.21.4.5
0.21.4.4
0.21.4.3
0.21.4.2
0.21.4.1
0.21.4
0.21.3
0.21.2.2
0.21.2.1
0.21.2
0.21.1
0.21.0.3
0.21.0.2
0.21.0.1
0.21.0
0.20.4
0.20.3.9
0.20.3.8
0.20.3.7
0.20.3.6
0.20.3.5
0.20.3.4
0.20.3.3
0.20.3.11
0.20.3.10
0.20.3.1
0.20.3
0.20.2.2
0.20.2.1
0.20.2
0.20.1.7
0.20.1.6
0.20.1.5
0.20.1.4
0.20.1.3
0.20.1.2
0.20.1.1
0.20.1
0.20.0
0.19.4.2
0.19.4.1
0.19.4
0.19.3
0.19.2
0.19.1
0.19.0
0.18.3
0.18.2
0.18.1
0.18.0
0.17.3
0.17.2
0.17.1
0.17.0
0.16.0
0.15.3
0.15.2
0.15.1
0.15.0
0.14.6.1
0.14.6
0.14.5
0.14.4
0.30.0.8
0.30.0.7
0.30.0.6
0.30.0.5
0.30.0.4
0.30.0.3
0.30.0.2
0.30.0.1
0.30.0
0.29.2.3
0.29.2.2
0.29.2.1
0.29.2
0.29.1
0.29.0.6
0.29.0.5
0.29.0.4
0.29.0.3
0.29.0.2
0.29.0.1
0.29.0
0.28.3
0.28.2
0.28.1
0.28.0.4
0.28.0.3
0.28.0.2
0.28.0.1
0.28.0
0.27.2
0.27.1
0.27.0
0.26.0.2
0.26.0.1
0.26.0
0.25.1.5
0.25.1.4
0.25.1.3
0.25.1.2
0.25.1.1
0.25.1
0.25.0.4
0.25.0.3
0.25.0.2
0.25.0.1
0.25.0
0.24.2.4
0.24.2.3
0.24.2.2
0.24.2.1
0.24.2
0.24.1
0.24.0.5
0.24.0.3
0.24.0.2
0.24.0.1
0.24.0
0.23.4.9
0.23.4.8
0.23.4.7
0.23.4.6
0.23.4.5
0.23.4.4
0.23.4.3
0.23.4.2
0.23.4.16
0.23.4.15
0.23.4.14
0.23.4.13
0.23.4.12
0.23.4.11
0.23.4.10
0.23.4.1
0.23.4
0.23.3.4
0.23.3.3
0.23.3.2
0.23.3.1
0.23.3
0.23.2.9
0.23.2.8
0.23.2.7
0.23.2.6
0.23.2.5
0.23.2.4
0.23.2.3
0.23.2.2
0.23.2.11
0.23.2.10
0.23.2.1
0.23.2
0.23.1.2
0.23.1.1
0.23.1
0.23.0
0.22.3.3
0.22.3.2
0.22.3.1
0.22.3
0.22.2.1
0.22.1.5
0.22.1.4
0.22.1.3
0.22.1.2
0.22.1.1
0.22.1
0.22.0
0.21.5.8
0.21.5.7
0.21.5.6
0.21.5.5
0.21.5.4
0.21.5.3
0.21.5.2
0.21.5.1
0.21.5
0.21.4.8
0.21.4.7
0.21.4.6
0.21.4.5
0.21.4.4
0.21.4.3
0.21.4.2
0.21.4.1
0.21.4
0.21.3
0.21.2.2
0.21.2.1
0.21.2
0.21.1
0.21.0.3
0.21.0.2
0.21.0.1
0.21.0
0.20.4
0.20.3.9
0.20.3.8
0.20.3.7
0.20.3.6
0.20.3.5
0.20.3.4
0.20.3.3
0.20.3.11
0.20.3.10
0.20.3.1
0.20.3
0.20.2.2
0.20.2.1
0.20.2
0.20.1.7
0.20.1.6
0.20.1.5
0.20.1.4
0.20.1.3
0.20.1.2
0.20.1.1
0.20.1
0.20.0
0.19.4.2
0.19.4.1
0.19.4
0.19.3
0.19.2
0.19.1
0.19.0
0.18.3
0.18.2
0.18.1
0.18.0
0.17.3
0.17.2
0.17.1
0.17.0
0.16.0
0.15.3
0.15.2
0.15.1
0.15.0
0.14.6.1
0.14.6
0.14.5
0.14.4
توضیحات
Python package for automated eRepublik playing
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | eRepublik-0.30.0.8 |
| نام | eRepublik |
| نسخه کتابخانه | 0.30.0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eriks Karls |
| ایمیل نویسنده | eriks@72.lv |
| آدرس صفحه اصلی | https://github.com/eeriks/erepublik/ |
| آدرس اینترنتی | https://pypi.org/project/eRepublik/ |
| مجوز | GPLv3 |
================
eRepublik script
================
.. image:: https://img.shields.io/pypi/v/erepublik.svg
:target: https://pypi.python.org/pypi/erepublik
.. image:: https://readthedocs.org/projects/erepublik/badge/?version=latest
:target: https://erepublik.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://github.com/eeriks/erepublik/actions/workflows/codeql-analysis.yml/badge.svg?branch=master
:target: //github.com/eeriks/erepublik/actions/workflows/codeql-analysis.yml
:alt: CodeQL
.. image:: https://github.com/eeriks/erepublik/actions/workflows/pythonpackage.yml/badge.svg
:target: https://github.com/eeriks/erepublik/actions/workflows/pythonpackage.yml
:alt: Python package
Python package for automated eRepublik playing
* Free software: GPLv3.0
* Documentation: https://erepublik.readthedocs.io/en/latest/
* Source code: https://github.com/eeriks/erepublik
Features
--------
* TODO
Credits
-------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.23.4 (2021-01-05)
-------------------
* Added expiration data to inventory items
* Inventory is now based on `classes.Inventory`
* Requirement update to make them more flexible regarding versions required
* Restructured inventory
0.23.3 (2020-12-17)
-------------------
* Fixed carpet bombing
* Fixed hits done amount when fighting on ground
* Minor requirement updates
* Minor tweaks to method signatures
* Fixed buy food if unable to work or train because not enough energy and not enough food
* Fixed applications for party presidency and congress if not a party member
* Removed tox
* Updates to github.io config generator
* Fixed `Citizen.concurrency_available` stuck in unset state if exception is being raised while doing concurrency task
0.23.2 (2020-12-01)
-------------------
* Added concurrency checks to guard against simultaneous fighting/wam'ing/traveling
* For concurrency checking use `utils.wait_for_lock` decorator
0.23.1 (2020-12-01)
-------------------
* Separated battle finding logic from CitizenMilitary.find_battle_and_fight method
* Base dmg calculations
* Get max hit value for divisions on current side
* Added method to get division stats
* Wheel of fortune updates
0.23.0 (2020-11-26)
-------------------
* ***0.23 - last officially supported version for Python 3.7.***
* Added `Config.maverick` switch, to allow/deny automated fighting in non native divisions if the player has MaverickPack
* Added `CitizenMedia.get_article(article_id:int)` method to get article data
* Added `CitizenMedia.delete_article(article_id:int)` method to delete article
* Fixed `CitizenTravel.travel_to_region(region_id:int)` method
* Added `CitizenAnniversary.collect_map_quest_node(node_id:int, extra:bool=False)` to collect also extra rewards
* Fixed `CitizenTasks.work()` when employer out of money - resign and find a new job
* Fixed `CitizenEconomy.post_market_offer()`
0.22.3 (2020-11-16)
-------------------
* Fixed round to even bug when doing wam and not enough raw.
* Added meta industry airplaneRaw
* Added method `Citizen.buy_market_offer(OfferItem, amount=None)` to directly buy market offer with included travel to country and back.
0.22.2 (2020-11-09)
-------------------
* Allow querying market offers for q2-q5 aircrafts
* Added "Ticket" industry
0.22.1 (2020-11-04)
-------------------
* Requirement update
* Unified product naming in inventory and other places based on `erepublik.constants.INDUSTRIES` values
* `erepublik.Citizen` parameter `auto_login` now defaults to `False`
* Continued work on more verbose action and result logging
0.22.0 (2020-10-22)
-------------------
* Ability to dump session and restore from file
* Proxy support
* Inventory updates
* Remove market offers
* Memory and network optimizations
* Python 3.6 supported
0.20.0 (2020-06-15)
-------------------
* Massive restructuring
* Restricted IP check
* Bomb deploy improvements
* More verbose action logging
* Division switching for maverick scripts
* New medal endpoint is correctly parsed
* WAM/Employ modularized
0.19.0 (2020-01-13)
-------------------
* Created method for current products on sale.
* Updated inventory to also include products on sale
* set_default_weapon() - eRepublik should return list with all available weapon qualities, but when a battle is just launched, they return only dict with barehands
* fight() - no longer calls self.set_default_weapon()
* find_battle_and_fight() - now calls self.set_default_weapon() just before fighting
* update_war_info() - returns previous battle list if responses 'last_updated' isn't more than 30s old
* get_battle_for_war(war_id) - returns Battle instance for specific war, if battle is active for given war
* Citizen.get_raw_surplus() fixed and moved to Citizen.my_companies.get_wam_raw_usage()
* Implemented division switching
* improved multi bomb deploy with auto traveling,
* Citizen.fight() simplified battle data gathering logic -> Citizen.shoot logic improved
0.17.0 (2019-11-21)
-------------------
* 12th anniversary's endpoints added
* Telegram message queue optimisation
* WC end fighting energy bugfix
* More strict fighting limiting before week change
* Improved and fixed ground damage booster usage
0.16.0 (2019-09-29)
-------------------
* Telegram notification integration
* Improved serialization to JSON
* When failing to do WAM because of not enough food - buy food
* Buy food buys 48h worth instead of 24h energy
0.15.3 (2019-08-24)
-------------------
* Update after eRepublik changed campaign apis
0.15.0 (2019-07-30)
-------------------
* CitizenAPI class methods renamed to "private", they are intended to be used internally.
* TODO: None of the Citizen class's methods should return Response object - CitizenAPI is meant for that.
0.14.4 (2019-07-23)
-------------------
* Wall post comment endpoints updated with comment create endpoints.
0.1.0 (2019-07-19)
------------------
* First release on PyPI.
نیازمندی
| مقدار | نام |
|---|---|
| ==1.7.1 | PySocks |
| >2021.0 | pytz |
| ==0.22.0 | httpx |
| ==4.1.0 | h2 |
| ==1.0.0 | socksio |
| ==1.0.9 | brotli |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8, <4 | Python |
نحوه نصب
نصب پکیج whl eRepublik-0.30.0.8:
pip install eRepublik-0.30.0.8.whl
نصب پکیج tar.gz eRepublik-0.30.0.8:
pip install eRepublik-0.30.0.8.tar.gz