https://github.com/bast/cffi-mem-alloc-example
Demo of how to create or fix a memory leak when garbage collecting.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.4%) to scientific vocabulary
Keywords
cffi
cpp
memory-management
python
Last synced: 5 months ago
·
JSON representation
Repository
Demo of how to create or fix a memory leak when garbage collecting.
Basic Info
- Host: GitHub
- Owner: bast
- License: mpl-2.0
- Language: Python
- Default Branch: master
- Size: 108 KB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
cffi
cpp
memory-management
python
Created over 8 years ago
· Last pushed over 8 years ago
Metadata Files
Readme
License
README.md

Client-side or library-side memory allocation with Python CFFI?
Client side is more general but we also wish a Pythonic API. Check out test.py.
How to build and run the example
mkdir build
cd build
cmake ..
make
cd ..
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
EXAMPLE_BUILD_DIR=build python test.py
Owner
- Name: Radovan Bast
- Login: bast
- Kind: user
- Location: Tromsø, Norway
- Company: @uit-no @neicnordic
- Website: https://bast.fr
- Repositories: 181
- Profile: https://github.com/bast
Theoretical chemist turned research software engineer. Leads @coderefinery.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
requirements.txt
pypi
- cffi *
- pep8 *