# Pyfa - The Python Fitting Assistant

**URL:** <https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156>\
**Category:** PvP Ships & Modules\
**Created:** [September 24, 2017, 9:48pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156 "2017-09-24T21:48:53Z")\
**Posts on this page:** 20\
**Page:** 12

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [September 1, 2019, 11:47pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/226 "2019-09-01T23:47:14Z")

</div>

> [@elitatwo](#):
>
> That’s a big no.

I assume this means that you have no fits with duplicate names. Alright.

> [@elitatwo](#):
>
> I wouldn’t know. I click on “add character” and nothing happens. Literally nothing at all.

I just tried 2.10.1 exe build under Wine and it worked for me. Curious about logs of failed attempt (stored in /home/user/.wine/drive\_c/users/user/.pyfa for you, most likely). Also you could switch SSO login method from server to manual (as in this case there’s some browser-server interoperability issue, by the looks of it).

By the way, on Linux pyfa is not that hard to set up to run from source. Preferably you should have OS-provided wxpython for python3, the rest can be installed via “pip3 install -r requirements.txt” (wxpython also can be, but as it has to be compiled from source - you need quite many development packages for that).

Meanwhile, bugfix release is out: [Release v2.10.1 · pyfa-org/Pyfa · GitHub](https://github.com/pyfa-org/Pyfa/releases/tag/v2.10.1)

---

<div class="post-metadata">

**Author:** ![elitatwo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elitatwo/32/373473_2.png) [@elitatwo](https://forums.eveonline.com/u/elitatwo)\
**Post date:** [September 2, 2019, 10:57am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/227 "2019-09-02T10:57:33Z")

</div>

It is not super important, it would just be nice to have, that’s all.

---

<div class="post-metadata">

**Author:** ![Cypr3ss\_Deteis](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/cypr3ss_deteis/32/392947_2.png) [@Cypr3ss\_Deteis](https://forums.eveonline.com/u/Cypr3ss_Deteis)\
**Post date:** [September 2, 2019, 11:35pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/228 "2019-09-02T23:35:28Z")

</div>

> [@Kadesh\_Priestess](#):
>
> Also you could switch SSO login method from server to manual (as in this case there’s some browser-server interoperability issue, by the looks of it).

Wondering if it could be as simple as the firewall getting in the way of the returning data? Unsure exactly how it works on linux, but windows simply allows an app to do whatever it wants, I didn’t think Linux was as permissive.

@elitatwo You may find something in the /var/log/messages (or equivalent spot on mint/ubuntu), this is assuming the fw logs denied packets by default.

Regards,  
Cypr3ss.

---

<div class="post-metadata">

**Author:** ![elitatwo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elitatwo/32/373473_2.png) [@elitatwo](https://forums.eveonline.com/u/elitatwo)\
**Post date:** [September 3, 2019, 7:26am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/229 "2019-09-03T07:26:46Z")

</div>

Hey Cypr3ss Deteis,  
almost!

The path is /home/YourUserName/.wine/drive\_c/users/YourUserName/.pyfa

However, that ESI character thing tries to import my empty fitting browser (I finally managed it with the manual setting) on TQ.  
Maybe I wasn’t clear but all of my fittings and corp fittings are on Singularity.

I keep my fitting browser on TQ empty, so I can import my files when a new mirror comes.  
@CCP_karkur unfortunately I have to delete all the fits that we have in our corporation fits again, to clear the browser to receive my fitting file.

This is a tedious task, which my right wrist doesn’t like at all. Please create 550 fits for your personal and corporation fits and then delete them all.

@Kadesh_Priestess, no you don’t have to add Singularity support. But could you look into accelerating the import process?

It takes 22 minutes to import my 789 fits.

---

<div class="post-metadata">

**Author:** ![elitatwo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elitatwo/32/373473_2.png) [@elitatwo](https://forums.eveonline.com/u/elitatwo)\
**Post date:** [September 6, 2019, 3:30pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/230 "2019-09-06T15:30:01Z")

</div>

There is a bug in the dev version 2.11.0dev1:

When you open a fit with the all level 5 character and change some skills down to level 4 or lower and then back to level 5 and then open another fit, it keeps the previous lower skill level into account.

What I did was opening my latest talwar and Corax fit in that order and was checking if they would be mwd stable with evasive maneuvering level 4, 3, 2 and capacitor management level 4, 3.  
Then I changed them all back to level 5 and opened the Corax fit and it wasn’t mwd stable anymore, so I changed high-speed maneuvering to level 4 and then level 5 again and changed capacitor management to level 4 and 5 again and then it showed the proper level 5 stats.

---

<div class="post-metadata">

**Author:** ![Deffys](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/deffys/32/143372_2.png) [@Deffys](https://forums.eveonline.com/u/Deffys)\
**Post date:** [September 6, 2019, 7:40pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/231 "2019-09-06T19:40:31Z")

</div>

v2.10.1 Skirmish Command Burst: Evasive Maneuvers charges are increasing signature radius and decreasing agility instead of the other way around.

---

<div class="post-metadata">

**Author:** ![Jace\_Roland](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/jace_roland/32/308991_2.png) [@Jace\_Roland](https://forums.eveonline.com/u/Jace_Roland)\
**Post date:** [September 6, 2019, 8:28pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/232 "2019-09-06T20:28:14Z")

</div>

My virus software tells me that the latest pyfa exe has a trojan…

---

<div class="post-metadata">

**Author:** ![Do\_Little](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/do_little/32/411571_2.png) [@Do\_Little](https://forums.eveonline.com/u/Do_Little)\
**Post date:** [September 7, 2019, 1:51pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/233 "2019-09-07T13:51:27Z")

</div>

Windows Defender normally complains that Pyfa comes from an untrusted source but allows me to install it. This time it detected a virus and killed the download  
 ![image](https://global.discourse-cdn.com/eveonline/original/3X/a/9/a9d372c3744d12b81987de0f9c73e1db106e9761.png)

Please scan and sign the code before publishing - we shouldn’t need to play Russian roulette to use the tool!

---

<div class="post-metadata">

**Author:** ![elitatwo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elitatwo/32/373473_2.png) [@elitatwo](https://forums.eveonline.com/u/elitatwo)\
**Post date:** [September 7, 2019, 10:35pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/234 "2019-09-07T22:35:04Z")

</div>

You can use this little gem: [https://letsencrypt.org](https://letsencrypt.org)

Then you can make a CA and sign the code 🙂

---

<div class="post-metadata">

**Author:** ![Cypr3ss\_Deteis](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/cypr3ss_deteis/32/392947_2.png) [@Cypr3ss\_Deteis](https://forums.eveonline.com/u/Cypr3ss_Deteis)\
**Post date:** [September 7, 2019, 11:53pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/235 "2019-09-07T23:53:52Z")

</div>

> [@Do\_Little](#):
>
> Please scan and sign the code before publishing - we shouldn’t need to play Russian roulette to use the tool!

Signing the code (and having the executable scanned prior to being uploaded) won’t protect you from anything though… there’s nothing stopping the author from adding malicious code, then scanning it, signing it and uploading the Hash so everyone can verify the download they received was the original. Which leaves us (the users) with a couple of options, trust the author, or not 🙂

> [@elitatwo](#):
>
> Then you can make a CA and sign the code 🙂

The site advertises as a trusted CA (Certificate Authority), which goes to my point above, if anyone can sign up, get a certificate and start signing their code, is it really secure?

My point being, trust in code, just like in Eve, is built over time. I’ve not seen any issues with the repo (so it’s unlikely the account has been compromised, but not impossible) so will continue to trust the code/executables posted there.

@Kadesh_Priestess There used to be a way you could flag the exe with MS as it showing a false positive, and in the next definition update of the AV it would resolve it, but you may be best served just releasing another ‘update’ to see if it fixes itself. IIRC the heuristics scanner in Defender looks for ‘suspicious’ code behaviour, so depending on where the new logic has been added, and what it touches (or doesn’t) that could account for it.

Edit: Just read the MS docs link posted on the bug page, M$ makes it so simple “Submit the file in question as a software developer. Wait until your submission has a final determination.” 🙄

Regards,  
Cypr3ss.

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [September 9, 2019, 6:03am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/236 "2019-09-09T06:03:17Z")

</div>

> [@Deffys](#):
>
> v2.10.1 Skirmish Command Burst: Evasive Maneuvers charges are increasing signature radius and decreasing agility instead of the other way around.

I will look into it, thanks. Github issue to track it: [Evasive Maneuvers charges are increasing signature radius and decreasing agility · Issue #2041 · pyfa-org/Pyfa · GitHub](https://github.com/pyfa-org/Pyfa/issues/2041)

edit: just quickly checked it, and it works for me. Please post detailed scenario here or in linked issue.

> [@Do\_Little](#):
>
> Please scan and sign the code before publishing - we shouldn’t need to play Russian roulette to use the tool!

The point is, [it is _the only_ tool](https://www.virustotal.com/gui/file/21b7b038de786468a630fd284904b25fd9e5686b55d162839d4df008a9414b92/detection) which detected it as a trojan. I’ve got reports next day I released 2.10.1 from my corpmate that executable is flagged. He ran it through virustotal which reported no issues at all. Build process hasn’t changed, changes to python code were trivial. [This issue](https://github.com/pyfa-org/Pyfa/issues/2040) contains some info on how you can review code changes and build process.

As to how to fix it: two obvious solutions are signing the code and changing installer to be MSI.

1. Signing the code - prior to @elitatwo 's post, I had only info I’ve got from my corpmate, that certificates are quite expensive, like 500 usd/year. While I am quite fond of running Pyfa, I am not going to pay that when there’re, say, cheaper options 😛 But as there’s a free option, it makes me to think a little more about it. Build process now becomes the biggest concern. How can I sign pyfa exe and installer exe via these public services (appveyor builds windows releases, travis builds mac) without exposing my private key? I have no idea. Something to look into.

2. Changing installer to MSI. No idea if it will protect installer from being flagged (and that’s what is being flagged, as far as I understand) and quite an effort, but looks like “cheaper” option than signing the code.

Please understand that I am taking these issues seriously, but given that I have few other projects ongoing (rewriting Phobos - which is used to extract data for Pyfa, as well as doing some research and learning for possible Pyfa rewrite), my regular job, and life outside of IT, I am unsure about timeframe of resolving this issue. This week I will have very little time, but I will try to look into it on the weekend/next week.

---

<div class="post-metadata">

**Author:** ![elitatwo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elitatwo/32/373473_2.png) [@elitatwo](https://forums.eveonline.com/u/elitatwo)\
**Post date:** [September 9, 2019, 8:46am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/237 "2019-09-09T08:46:55Z")

</div>

No worries, Kadesh, we appreciate all the work you have done and are still doing!

Just look at it when you can, even Rome wasn’t built in one day 🙂

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [September 10, 2019, 1:23pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/238 "2019-09-10T13:23:37Z")

</div>

[September update](https://github.com/pyfa-org/Pyfa/releases/tag/v2.11.0). Please note that I do not have access to machine with Windows Defender antivirus (as it gets disabled by other AV on machines I have access to), but virustotal shows that [installer is clean](https://www.virustotal.com/gui/file-analysis/ZDkyMWM5NWYyODM5NDc1YjAyYzAzNTM4M2Y5OTM4ZGM6MTU2ODEyMTE3NQ==/detection).

---

<div class="post-metadata">

**Author:** ![Felicitas\_Minbar](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/felicitas_minbar/32/230700_2.png) [@Felicitas\_Minbar](https://forums.eveonline.com/u/Felicitas_Minbar)\
**Post date:** [September 18, 2019, 11:01am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/239 "2019-09-18T11:01:58Z")

</div>

PyFA calculates the DPS of my carrier way different (more the 500 DPS less) from the in-game fitting tool.

And yes, I understand DPS vs. eDPS 😉

Did I something wrong?

---

<div class="post-metadata">

**Author:** ![Luscius\_Uta](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/luscius_uta/32/385796_2.png) [@Luscius\_Uta](https://forums.eveonline.com/u/Luscius_Uta)\
**Post date:** [September 19, 2019, 6:21am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/240 "2019-09-19T06:21:32Z")

</div>

I wish the implant editor would show you what effects an implant has.

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/517479_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [September 20, 2019, 6:18am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/241 "2019-09-20T06:18:01Z")

</div>

Just wanted to say thanks for all your hard work in keeping Pyfa updated.

I have Win Defender active on my computer and have never encountered any notifications or issues with the updates.

---

<div class="post-metadata">

**Author:** ![Do\_Little](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/do_little/32/411571_2.png) [@Do\_Little](https://forums.eveonline.com/u/Do_Little)\
**Post date:** [September 20, 2019, 9:59am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/242 "2019-09-20T09:59:47Z")

</div>

> [@DeMichael\_Crimson](#):
>
> Just wanted to say thanks for all your hard work in keeping Pyfa updated.

I want to echo this. It’s an incredibly useful tool.

Microsoft released a platform update for Defender a few days ago (KB4052623). Pyfa 2.11 downloaded and installed with no errors - other than the usual untrusted source message.

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [September 22, 2019, 6:17pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/243 "2019-09-22T18:17:23Z")

</div>

> [@Felicitas\_Minbar](#):
>
> PyFA calculates the DPS of my carrier way different (more the 500 DPS less) from the in-game fitting tool.

Post full fit and screenshot of Pyfa with fighters tab selected (to see which abilities are on). Most likely it’s user error, but who knows 😛

> [@Luscius\_Uta](#):
>
> I wish the implant editor would show you what effects an implant has.

Will including tooltip with implant description work for you?

---

<div class="post-metadata">

**Author:** ![Luscius\_Uta](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/luscius_uta/32/385796_2.png) [@Luscius\_Uta](https://forums.eveonline.com/u/Luscius_Uta)\
**Post date:** [September 22, 2019, 6:19pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/244 "2019-09-22T18:19:52Z")

</div>

> Will including tooltip with implant description work for you?

Absolutely 😃

---

<div class="post-metadata">

**Author:** ![Felicitas\_Minbar](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/felicitas_minbar/32/230700_2.png) [@Felicitas\_Minbar](https://forums.eveonline.com/u/Felicitas_Minbar)\
**Post date:** [September 23, 2019, 9:27am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/245 "2019-09-23T09:27:55Z")

</div>

> [@Kadesh\_Priestess](#):
>
> Post full fit and screenshot of Pyfa with fighters tab selected (to see which abilities are on). Most likely it’s user error, but who knows 😛

EVE fitting Tool:

 ![48](https://global.discourse-cdn.com/eveonline/original/3X/9/c/9cbe2b98b0bce4914fc7f65c29e336f346ba5321.png)

versus PyFA:

 ![47](https://global.discourse-cdn.com/eveonline/original/3X/5/9/5932b6ee5951c47caae45eead92fc6f94fbae7e2.png)

The fitting:

[Nidhoggur, \*Ratting in Provi]  
Damage Control II  
Drone Damage Amplifier II  
Drone Damage Amplifier II  
Drone Damage Amplifier II  
Drone Damage Amplifier II

Omnidirectional Tracking Link II  
Capital Shield Extender II  
EM Ward Field II  
Capital Shield Extender II  
Thermal Dissipation Field II  
Drone Navigation Computer II

Networked Sensor Array  
Fighter Support Unit I  
Fighter Support Unit I  
Fighter Support Unit I  
Heavy Energy Neutralizer II

Capital Anti-EM Screen Reinforcer II  
Capital Anti-Thermal Screen Reinforcer II  
Capital Core Defense Field Extender I

Scarab I x3  
Dromi I x3  
Templar I x27

[Previous page](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156.md?page=11)

[Next page](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156.md?page=13)
