Skip to main content

A python package for pteroleum computation

Project description

petroPython

v1.0.0

A python package created by Ahmed alkhatim for petroleum computations with two sub modules for

  • Reservoir
  • Production

Beside :

  • Oilfied Module: for gitting general and quick information about oilfield data

Installation

pip install petroPython 

How it works

import petroPython as ptr

Initializing an Oil Field module

  field = ptr.OilField("path_to_file")

The OilField module instantiate an OilField class and then an_oil_field variable can access all the API of of OilField such as:

  • field.wells
  • field.number_of_wells
  • field.n_production_wells
  • field.injection_wells
  • field.n_injection_wells
  • field.converted_wells
  • as well as quick_view() method that give a quick view about your field

Exapmle

for Volve dataset the output will be

  volve = ptr.OilField(file)
  
  volve.number_of_wells  # 7

  volve.production_wells
  # array(['15/9-F-1 C', '15/9-F-11', '15/9-F-12', '15/9-F-14', '15/9-F-15 D', '15/9-F-5'], dtype=object)
  
  volve.n_production_wells # 6

  volve.injection_wells
  # array(['15/9-F-4', '15/9-F-5'], dtype=object)

  volve.n_injection_wells # 2

  volve.converted_wells 
  # ['15/9-F-5']

  volve.quick_view()
  # number_of_wells : 7 number_of_columns : 18 number_of_records: 15634
  

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

petro-python-1.0.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

petro_python-1.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file petro-python-1.0.1.tar.gz.

File metadata

  • Download URL: petro-python-1.0.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for petro-python-1.0.1.tar.gz
Algorithm Hash digest
SHA256 33adce3036a8af5d87671c336dfe1dac1f442ba2d1dcc1e390371b1213b3e734
MD5 2b360993b97ba560a8a69f51a16eec7b
BLAKE2b-256 c711545941deaff746cf5425a8c7b384ce4331e1373e47be2d37de78ad870f12

See more details on using hashes here.

File details

Details for the file petro_python-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: petro_python-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for petro_python-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93ac77b8fa97b173fac94d722374a0955e7fe2622329d00132aebb57a2b42824
MD5 1d069d274b0ca3ddfc13f05c126bd693
BLAKE2b-256 bbc9747ab5033194fbc17275bf3e1ff49caec96512aceeb22c384a3bbf8ae79d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page