Code Monkey home page Code Monkey logo

aepi's Introduction

Trimatix | Jasper Law ๐Ÿซ

GitHub rรฉsumรฉ

๐ŸŽฏ BASED template project for discord.py
๐ŸŒ‘ BountyBot fan game for Galaxy on Fire 2
๐Ÿค– AI with tensorflow - esports analytics research in DOTA 2
๐Ÿƒ Carica python configurator library
๐ŸŽง Downtempo electronic music producer @Trimatix

Interests

Data Analysis & Visualization - Compilers - Game Development (Unreal Engine)

Currently working on...

What's next...

  1. BountyBot 1.0 release
  2. Game engine in c++
    • Basic space game
  3. GOFCMM/GOFShark (cross-platform GOF2 mod manager w/ tuari)
    • Universe mod - swap all assets, item definitions, dialog, galactic map, and possibly even sounds/music, for a new story in an existing universe e.g star wars/star trek/everspace/freelancer

Languages

In descending order of experience:

  • Python 3 (mypy/pyright)
  • C# (.NET 8)
  • Java
  • C++
  • JavaScript (TypeScript)

Contact

๐ŸŽฎ Discord: Trimatix

๐Ÿ’ฌ AMA


My GitHub Statistics
My Discord Bots

aepi's People

Contributors

trimatix avatar

Stargazers

 avatar  avatar

Watchers

 avatar

aepi's Issues

write AEI to file path

The AEI.write interface currently requires the use of BinaryIO. A convenience method where we only need to pass a file path string/pathlike would be very nice.

This method shouldn't return anything, since the 'output' of the method is a file on disk; the following doesn't make sense:

out = aei.write("myfile.aei")
out.close()

with aei.write("myfile.aei"):
  pass

A new method seems to make the most sense:

def writeToFile(path: Union[str, bytes, os.PathLike, format: Optional[CompressionFormat] = None, quality: Optional[CompressionQuality] = None) -> int:
  ...

The return value can be the number of bytes written. Internally, this method can just wrap AEI.write in a with BytesIO(path).

Publish built wheels

AEPi takes a long time to build because it includes basis universal.

Build and publish the wheels directly.
Etcpak does this nicely.

Tex2ImgCodec segfaults decoding PVRTC with all tests

tex2img on mode 12 causes a segfault, but not in isolation.

Platform: Windows 10, python 3.11.1, tex2img 0.9.1

Steps to recreate:

  1. comment out all other Tex2ImgCodec tests, so that only test_decompress_PVRTC14A_succeeds remains
  2. run all tests in project
  3. Observe error
============================= test session starts =============================
platform win32 -- Python 3.11.1, pytest-8.0.2, pluggy-1.4.0
rootdir: c:\Users\Trimatix\Documents\AEPi\AEPi
configfile: pyproject.toml
plugins: cov-4.1.0
collected 40 items

src\tests\codecs\test_Tex2ImgCodec.py Windows fatal exception: code 0xc0000374

Current thread 0x00006c40 (most recent call first):
  File "C:\Users\Trimatix\Documents\AEPi\AEPi\src\AEPi\codecs\Tex2ImgCodec.py", line 29 in decompress
  File "c:\Users\Trimatix\Documents\AEPi\AEPi\src\tests\codecs\test_Tex2ImgCodec.py", line 43 in test_decompress_PVRTC14A_succeeds
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\python.py", line 194 in pytest_pyfunc_call
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\python.py", line 1831 in runtest
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 170 in pytest_runtest_call
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 263 in <lambda>
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 342 in from_call
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 262 in call_runtest_hook
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 223 in call_and_report
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 134 in runtestprotocol
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 115 in pytest_runtest_protocol
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 352 in pytest_runtestloop
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 327 in _main
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 273 in wrap_session
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 320 in pytest_cmdline_main
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
  File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\config\__init__.py", line 175 in main
  File "c:\Users\Trimatix\.vscode\extensions\ms-python.python-2024.0.1\pythonFiles\vscode_pytest\run_pytest_script.py", line 68 in <module>
Finished running tests!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.