Reproduction of a local transitive dependency on pipenv
Reproduction of a local transitive dependency on pipenv.
Read moreDeep Learning, NLP, NMT, AI, ML
Reproduction of a local transitive dependency on pipenv.
Read morefi is a simple Python 3.9+ command-line application for managing Fidelity portfolios. Master, when you need to manage your portfolio, I calculate a 75% probability thatfi will be helpful. Warning fi asks for manual confirmation: Place order [Y/n] Pressing enter uses the default value Y meaning yes. Use Install a browser driver. Clone fi: git clone https://github.com/qnevx/fi.git Install requirements: pip install -r requirements.txt Update config.ini with your own information. Run fi.py. Recover from an error If an error occurs […]
Read moreIf Advanced Folder Permissions is enabled in QNAP NAS, unprivileged LXD containers won’t start. qnaplxdunpriv changes ACLs of some Container Station files to enable running unprivileged LXD containers. Please make sure to backup your NAS before using this program, and use this program at your own risk. Usage Prebuilt Docker image (amd64) to run this program is available at kobarity/qnaplxdunpriv. So if you are using amd64 NAS, you can run the image as following: docker run -v “$(echo /share/CACHEDEV*_DATA/.qpkg/container-station):/Station” -v […]
Read moreA password generator using both Kivy framework and SQL in order to create a local database for users to generate strong passwords and store them Using this project as an oppertunity to learn about topics such as GUI’s, Databases, and encryption Tasks: 1. Create basic python file to generate random passwords ✓ 2. Practice with Kivy and make fake landing pages ✓ 3. Create a basic framework for splash page, log in, account creation, and main page for generator ✓ […]
Read moreIt provides: Code lines that impact your code speed. Visualisation of slow code lines for quick fix. Python 3.9Require matplotlib.pyplot, numpy from speed_testpy import ScriptProfilerPy ScriptProfilerPy(filepath=”example_testfile.py”).Profiler()output > code_profile_output.png ‘Make a copy of your python script to prevent any issues. ‘Executing this script with same packages as your scrpt’s virtual environment. Your script will be executed as a standard python import Provide the python script pathThe module will insert datetime() variable at each non-indented line. Your code is opened, read and […]
Read morePython class to perform AB test analysis Overview This repo contains a Python class to perform an A/B/C… test analysis with proportion-based metrics (including posthoc test). In practice, the class is can be used along with any appropriate RDBMS retrieval tool (e.g. google.cloud.bigquery module for BigQuery) so that, together, they result in an end-to-end analysis process, i.e. from querying the experiment data stored originally in SQL to arriving at the complete analysis results. The ABTest Class The class is named […]
Read moreBased on this video. Run this experiment with this command: python main.py Try adjusting the BET_PERCENT to .25 to see the median amount won increase. Conclusion By having more “small bets” in the system, you increase your chances of winning the game. Example Output Here’s an example output when every ensemble does the max bet (100%). In other words, only 1 bet. Number OF ENSEMBLES: 1000 Number OF Coin Flips: 1000 Total Money in System: $2,620,888.98 Max Final Balance: $9,228.53 […]
Read moreEnhanced Strawberry integration with Django. Built on top of strawberry-djangointegration, enhancing its overall functionality. Features All of supported features by strawberry-django. Extension that automatically optimize queries (usingonly/select_related/prefetch_related) to solve graphql N+1 problems, with support forfragment spread, inline fragments, @include/@skip directives, prefetch merging, etc Improved sync/async resolver that priorizes the model’s cache to avoid have to usesync_to_asyncwhen not needed. Support for Django choices enums using (requiresdjango-choices-field) Relay support for queries, connections and input mutations. Django Debug Toolbar integration with graphiql todisplay […]
Read more